packages feed

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

{-# OPTIONS_GHC -Wno-unused-top-binds #-}

-- @generated by keiro-dsl; do not edit. Regenerated from the .keiro spec.
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