You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
Function autorest.DoRetryForStatusCode has this piece of code
// don't count a 429 against the number of attempts
// so that we continue to retry until it succeeds
if resp == nil || resp.StatusCode != http.StatusTooManyRequests {
attempt++
}
Basically infinitely retries in case of backoff, sometimes, though there is an opportunity for caller to cancel, the library should be flexible enough for client to provide a feature if the infinite retry feature is required.
Function autorest.DoRetryForStatusCode has this piece of code
Basically infinitely retries in case of backoff, sometimes, though there is an opportunity for caller to cancel, the library should be flexible enough for client to provide a feature if the infinite retry feature is required.