Skip to content
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 support for retry configurations #20

Merged
merged 6 commits into from
May 28, 2024

Conversation

tjorri
Copy link
Contributor

@tjorri tjorri commented Apr 22, 2024

This PR attempts to fix the issues we reported in #19 by introducing a configurable backoff-retry wrapper which jitter for Hydra SDK calls to more gracefully handle the rate-limiting.

By default the retry is disabled and needs to be explicitly enabled to maintain existing provider behavior and not surprise anyone.

The implementation might be a bit rough around the edges, and mainly tried to quickly get the issues we are facing sorted, so happy to refactor as needed if other better approaches are thought of. :)

@svrakitin
Copy link
Owner

LGTM, thanks, just couple of nitpicks on better naming.

@svrakitin
Copy link
Owner

@tjorri Please regenerate docs and I'll merge.

@tjorri
Copy link
Contributor Author

tjorri commented May 28, 2024

Thanks, good comments, and yeah, totally forgot about the docs. :)

@svrakitin svrakitin merged commit f448ace into svrakitin:main May 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants