packages feed

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

-- @generated by keiro-dsl 0.9.0.0 (language keiro-dsl 4) from publisher hospitalPublisher; do not edit.
module Generated.HospitalCapacity.HospitalPublisher.Publisher
  ( publisherOrdering
  , publisherBackoff
  , publisherMaxAttempts
  ) where

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

publisherOrdering :: OrderingPolicy
publisherOrdering = PerKeyHeadOfLine

publisherBackoff :: BackoffSchedule
publisherBackoff = ConstantBackoff 2

publisherMaxAttempts :: Int
publisherMaxAttempts = 10