Skip to content

Commit

Permalink
🎨 increase sqs long poll time to 20 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
oharaandrew314 committed Aug 15, 2024
1 parent 681cc66 commit 277c116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inline fun <reified Message: Any> WorkQueue.Companion.sqsV2(
sqs: SqsClient,
url: String,
marshaller: AutoMarshalling,
pollWaitTime: Duration? = Duration.ofSeconds(10),
pollWaitTime: Duration? = Duration.ofSeconds(20),
deliveryDelay: Duration? = null,
noinline getGroupId: (Message) -> String? = { null },
noinline getDeduplicationId: (Message) -> String? = { null },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inline fun <reified Message: Any> WorkQueue.Companion.http4k(
sqs: SQS,
url: Uri,
marshaller: AutoMarshalling,
pollWaitTime: Duration? = Duration.ofSeconds(10),
pollWaitTime: Duration? = Duration.ofSeconds(20),
deliveryDelay: Duration? = null,
noinline getGroupId: (Message) -> String? = { null },
noinline getDeduplicationId: (Message) -> String? = { null },
Expand Down

0 comments on commit 277c116

Please sign in to comment.