packages feed

keiro-dsl-0.9.0.0: test/conformance-skeletons/SkelEmit/Generated/MyService/ThingPublisher/Publisher.hs

-- @generated by keiro-dsl 0.8.0.0 (language keiro-dsl 4) from publisher thingPublisher; do not edit.
module SkelEmit.Generated.MyService.ThingPublisher.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