Naive back-off delay retry solution #145
dabeeeenster
started this conversation in
Ideas
Replies: 1 comment
-
I think adding too much complexity to how the backoff is calculated is probably doomed to scope creep, but a statically defined backoff as part of the retry could definitely be useful. See also #6 for retrying in general. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First - thanks for this package - Django has been needing it for too long!
We're currently using huey and do like it, but I would rather drop redis and use our core DB for the task management. We hit a lot of external APIs in our platform and often have to deal with flakiness, so retry and back-off delays are important to us. I had a play around with a super basic retry solution (with back-off delay!) that looks like this:
I thought it might be useful for others, or if people have suggestions for improvements?
In terms of the retry logic/engine for this package, has any decision been made on whether this package itself will be responsible for that? Will it delegate to the specific backend? Or a choice?
Beta Was this translation helpful? Give feedback.
All reactions