Replies: 2 comments
-
See #216 |
Beta Was this translation helpful? Give feedback.
0 replies
-
implemented. docs & usage instructions for retry backoff algorithms. |
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
-
pypyr will soon be getting more configurable/advanced retry back-off strategies. Currently retry is on a fixed interval (
sleep
).this from an idea + feature request from @Reskov ages ago, with apologies for the delay!
the back-off will be coded as a function, so similar to custom steps, you could specify your own
mynamespace.mybackoffstrategy
in the pipeline yaml for custom implementations.but I'd like to include sensible default strategies out-of-the-box also. Current ideas are:
max_sleep
configurable for an upper limit )Anything else? Feedback welcome! Are these sensible back-off strategies, or are some of them surplus/unnecessary? I'm tempted not to have a separate "exponential", since I assume it'd almost always be more sensible to do exponential+jitter rather than just a bare exponential?
What backoff strategy would you like to see?
Beta Was this translation helpful? Give feedback.
All reactions