Skip to content

Commit

Permalink
Revert "Update SQS visibility timeout to the same as lambda's timeout…
Browse files Browse the repository at this point in the history
…. Otherwise, the queue message will get picked after 60 seconds by another lambda instance"

This reverts commit cdfbccb.
  • Loading branch information
Chris Park committed Mar 18, 2024
1 parent cdfbccb commit b441761
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class PrerenderRecacheApi extends Construct {
timeout: Duration.seconds(120),
}),
deployDeadLetterQueue: false,
queueProps: { visibilityTimeout: Duration.minutes(120) },
queueProps: { visibilityTimeout: Duration.minutes(60) },
});
}
}
Expand Down

0 comments on commit b441761

Please sign in to comment.