Join Slack
Powered by
Short version: Is there a way to set retries to us...
# ask-community
t
Tom Shaffner
12/01/2021, 4:37 PM
Short version:
Is there a way to set retries to use exponential backoff?
Long version:
The documentation at
https://docs.prefect.io/core/tutorial/04-handling-failure.html
has retry options at set intervals, but network issues (often the cause of my failures) generally work better with exponential backoff (
https://dzone.com/articles/understanding-retry-pattern-with-exponential-back
). Is there a way to do this currently?
k
Kevin Kho
12/01/2021, 4:37 PM
No in current Prefect, but definitely will be doable in Orion. There’s only the set interval in current Prefect like you mentioned.
👍 1
t
Tom Shaffner
12/01/2021, 4:38 PM
Man, at this point Orion is going to have trouble living up to my excitement about it. 🙂
😅 2
a
Anna Geller
12/01/2021, 4:40 PM
If you really need that, there would be a hacky way to do sth like this for variable nr of retries
https://prefect-community.slack.com/archives/CL09KU1K7/p1634211452350800?thread_ts=1634209638.349500&cid=CL09KU1K7
4
Views
Open in Slack
Previous
Next