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

MHPY-23 Retry a 429 response #17

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

MHPY-23 Retry a 429 response #17

wants to merge 1 commit into from

Conversation

spacid
Copy link
Contributor

@spacid spacid commented Mar 31, 2024

Add a boolean to the MediaHavenClient indicating that every executed request should be retried via an exponential backoff if the request hits a rate limit. This means that the response has the status code 429.

Add a boolean to the MediaHavenClient indicating that every executed request
should be retried via an exponential backoff if the request hits a rate limit.
This means that the response has the status code 429.
@spacid
Copy link
Contributor Author

spacid commented Mar 31, 2024

Still to do:

  • Extra tests
  • Logging when retrying

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.

1 participant