-
Notifications
You must be signed in to change notification settings - Fork 70
cleanup(auth): update retry loop #2706
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
base: main
Are you sure you want to change the base?
Conversation
We already have this: google-cloud-rust/src/gax/src/retry_policy.rs Line 325 in aef399f
|
Got it, thanks @coryan. In that case, I'm still unclear on the use case for NoRetryPolicy, since my goal is to retry on most errors while avoiding retries on authentication failure. Is the expectation that our default policy handles this correctly (by not retrying auth errors), and that we should honor any custom policy a customer provides to Gax, even if it retries on everything? |
Then you need to change
Yes. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2706 +/- ##
=======================================
Coverage 95.58% 95.58%
=======================================
Files 93 93
Lines 4006 4010 +4
=======================================
+ Hits 3829 3833 +4
Misses 177 177 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What this PR does
Why this change is needed
Important Caveat