-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
Modifying exponential backoff for failures #54
Comments
Hey @aschmois great to know that you're planning to use
In a separate discussion thread, we have already established a need for evolving On similar lines I can see that your feature-request can be handled in two ways:
data NextJobAction = ActionSuccess | ActionFailed | ActionRetry UTCTime | ... The second approach can be used to build cron-like functionality, as well. What're your thoughts? |
This is a good feature to have. I've added this to the roadmap |
@aschmois any thoughts on my previous comments? |
@saurabhnanda I apologize, we discussed it as a team and we'd like to work on this. Don't know exactly when we'll get some free time but I assume it'll be soon! I think I'd like to take a look at the |
Our team is giving odd-jobs a try and we're loving it! The only current concern we have is that we would like to avoid exponential backoff for failures since we only deal with transient failures. Would it be possible to add a config to modify it, such as adding a limit to the time added, or removing it altogether?
This is the line we are concerned with:
odd-jobs/src/OddJobs/Job.hs
Line 408 in b9649f5
I could open a PR to add a config but looks like the roadmap is already planning on doing something with failures per job don't want to step on toes.
The text was updated successfully, but these errors were encountered: