We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqs can return empty messages if the message number is low (<1000), maybe this explains that why the last few hundred tasks takes longer time.
this package set the wait time to be 0, and could potentially get empty messages. https://github.com/seung-lab/python-task-queue/blob/master/taskqueue/aws_queue_api.py#L60
here is the documentation of the long polling: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/working-with-messages.html#setting-up-long-polling
as suggested, simply setting the waittime to 20 seconds should fix this.
The text was updated successfully, but these errors were encountered:
Wait time has been set to 20 sec since a355d04
Sorry, something went wrong.
william-silversmith
No branches or pull requests
sqs can return empty messages if the message number is low (<1000), maybe this explains that why the last few hundred tasks takes longer time.
this package set the wait time to be 0, and could potentially get empty messages.
https://github.com/seung-lab/python-task-queue/blob/master/taskqueue/aws_queue_api.py#L60
here is the documentation of the long polling:
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/working-with-messages.html#setting-up-long-polling
as suggested, simply setting the waittime to 20 seconds should fix this.
The text was updated successfully, but these errors were encountered: