Skip to content

Commit

Permalink
Default visibility timeout is 30 seconds but the queue worker lambda …
Browse files Browse the repository at this point in the history
…timeout limit is set to 10 minuets, and that's a nono according to the powers that be (for good reason).
  • Loading branch information
seanspeaks committed Feb 18, 2025
1 parent f8ec89b commit a817ce0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/devtools/infrastructure/serverless-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ const composeServerlessDefinition = (AppDefinition) => {
Properties: {
QueueName: `\${self:custom.${queueReference}}`,
MessageRetentionPeriod: 60,
VisibilityTimeout: 1800, // 30 minutes
RedrivePolicy: {
maxReceiveCount: 1,
deadLetterTargetArn: {
Expand Down

0 comments on commit a817ce0

Please sign in to comment.