Add a delay between retries when task crashes
See original GitHub issueCurrently, it seems that there is no delay at all between retries when my task raises an exception. Sometimes bugs occur in the tasks logic and they simply raise an exception. I don’t want to lose any of the tasks, so I went trying to set retries=2**16
, but it retries right away.
What would be the recommended way of handling this use-case?
Catching all exceptions inside the tasks and sleep doesn’t make a lot of sense to me as it will be wasting time sleeping instead of processing other tasks…
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Ansible Retry Examples - Retry a task until condition met
As you can see we can use until, retries and delay keywords with any task and make it retry for no of times...
Read more >Delay between task retries? - Deadline 6 Beta Discussion
Basically, if a task fails, another task could get a chance to run before the problematic task is retried (and potentially wastes more...
Read more >Azure Functions error handling and retry guidance
Learn to handle errors and retry events in Azure Functions with links to specific ... DelayInterval, The delay that is used between retries....
Read more >node.js - How to process delayed complex tasks with retry policy
I have an Express + MongoDB app that is running on AWS Elastic Beanstalk. Sometimes there is a request from a client that...
Read more >Error handling and automatic retries in AWS Lambda
When you invoke a function, two types of error can occur. Invocation errors occur when the invocation request is rejected before your function...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
New version is available on PyPI: https://pypi.python.org/pypi/Kuyruk/8.2.0
@frol I have pushed the tags, sorry about the delay.