packages feed

keiro-dsl-0.2.0.0: test/conformance-publisher-runtime/Generated/HospitalCapacity/HospitalPublisher/Publisher.hs

{-# OPTIONS_GHC -Wno-unused-top-binds #-}
-- @generated by keiro-dsl; do not edit. Regenerated from the .keiro spec.
module Generated.HospitalCapacity.HospitalPublisher.Publisher
  ( publisherOrdering
  , publisherBackoff
  , publisherMaxAttempts
  ) where

import Keiro.Outbox.Types (BackoffSchedule (..), OrderingPolicy (..))

publisherOrdering :: OrderingPolicy
publisherOrdering = PerKeyHeadOfLine

publisherBackoff :: BackoffSchedule
publisherBackoff = ConstantBackoff 2

publisherMaxAttempts :: Int
publisherMaxAttempts = 10