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

honor retry-after-ms for azure clients #1046

Closed
wants to merge 3 commits into from

Conversation

kristapratico
Copy link
Contributor

@kristapratico kristapratico commented Jan 4, 2024

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Related feature request: #957

@rattrayalex Coming back from the holidays and I see we're getting requests to support retry-after-ms on the Azure side. If it's easier / less work for you, I added the retry-after-ms logic to the Azure clients only in this PR. This assumes that it is okay to override the the internal calculate retry timeout method, but let me know if you have a different recommendation. Thanks so much!

Additional context & links

@kristapratico kristapratico requested a review from a team as a code owner January 4, 2024 20:36
@rattrayalex
Copy link
Collaborator

Amazing, thank you Krista! I actually think we should just bake this in and always handle that header if it's available. I've gone ahead and incorporated the change on an internal PR; I don't have tests yet and may copy yours. Thanks for the great work here!

@kristapratico
Copy link
Contributor Author

Thanks Alex, really appreciate it!

@rattrayalex
Copy link
Collaborator

(update, we are still putting some finishing touches on this but hope to roll it out in the coming days, so will go ahead and close this PR – thanks again Krista!)

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