Skip to content

MHPY-23 Retry a 429 response - #17

Draft
spacid wants to merge 1 commit into
mainfrom
mhpy-23-retry-429
Draft

MHPY-23 Retry a 429 response#17
spacid wants to merge 1 commit into
mainfrom
mhpy-23-retry-429

Conversation

@spacid

Copy link
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

Still to do:

  • Extra tests
  • Logging when retrying

Sign up for freeto 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

@spacid