Skip to content

Commit

Permalink
Merge pull request #2287 from cisagov/AL-pe-SQS
Browse files Browse the repository at this point in the history
Add Visibility Timeout to SQS
  • Loading branch information
cduhn17 authored Oct 5, 2023
2 parents acecca1 + ede6b97 commit ec86e6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ resources:
Type: AWS::SQS::Queue
Properties:
QueueName: ${self:provider.stage}-worker-queue
VisibilityTimeout: 300 # Should match or exceed function timeout
MaximumMessageSize: 262144 # 256 KB
MessageRetentionPeriod: 604800 # 7 days

functions:
- ${file(./src/tasks/functions.yml)}
Expand Down

0 comments on commit ec86e6b

Please sign in to comment.