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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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. :)

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

1 participant