Skip to content

Commit

Permalink
fix: use 20 sec wait time to avoid polling 0s on tasks for AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Apr 30, 2019
1 parent e2742d0 commit a355d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskqueue/aws_queue_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _request(self, num_tasks, visibility_timeout):
'All'
],
VisibilityTimeout=visibility_timeout,
WaitTimeSeconds=0,
WaitTimeSeconds=20,
)

if 'Messages' not in resp:
Expand Down

0 comments on commit a355d04

Please sign in to comment.