Skip to content

Honor retry-after and related headers #169

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

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

Conversation

trrwilson
Copy link
Collaborator

@trrwilson trrwilson commented Jul 12, 2024

Problem

  1. We currently don't honor Retry-After or related headers, instead just using exponential backoff against the default 800ms and 3 attempts (800, 1600, 3200)

Approach

  1. Add a private HeaderInformedRetryPolicy that uses the provided header values if present, falling back to the default behavior otherwise

@trrwilson trrwilson changed the title Address retry behavior issues Honor retry-after and related headers Jul 19, 2024
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.

2 participants