Skip to content

Commit

Permalink
change WaitTimeSeconds to 20 for more efficient long polling (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
esetnik committed Mar 19, 2020
1 parent 18698eb commit 40efaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/serverless-offline-sqs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class ServerlessOfflineSQS {
MaxNumberOfMessages: queueEvent.batchSize,
AttributeNames: ['All'],
MessageAttributeNames: ['All'],
WaitTimeSeconds: 1
WaitTimeSeconds: 20
},
cb
)
Expand Down

0 comments on commit 40efaf9

Please sign in to comment.