-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add .retriable feature to Http - Rebased #775
Conversation
* Delay by default backs backs off over time * Maximum delay time * Exceptions to retry from * Status codes to retry from * Custom retry logic * Respect Retry-After header if present * on_retry callback
* Less procs & proc building overall * seperate delay calculation into its own class
I had some time, so I ended up rebasing and fixing the lint and test errors. @ixti would you mind taking a look again? |
That looks amazing! Thank you! Will take me some time reviewing though... :D |
@ixti Any luck? |
I've been using this in prod for a few months now and so far haven't noticed any issues :) |
Thanks! |
@tarcieri any chance we could get a gem version published? we'd greatly benefit having retries built in. |
@mylesboone Will cut the release this week. |
@ixti any chance we could get the release this week? it would be a massive help! |
Rebase of #598 with:
I don't understand the internals super well, but the changes I made off of the original were minor enough to not really change any actual functionality. Tests and cops all pass!