Skip to content

Commit a355d04

Browse files
fix: use 20 sec wait time to avoid polling 0s on tasks for AWS
1 parent e2742d0 commit a355d04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎taskqueue/aws_queue_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _request(self, num_tasks, visibility_timeout):
102102
'All'
103103
],
104104
VisibilityTimeout=visibility_timeout,
105-
WaitTimeSeconds=0,
105+
WaitTimeSeconds=20,
106106
)
107107

108108
if 'Messages' not in resp:

0 commit comments

Comments
 (0)