Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

retry any failed request regardless of status #674

Merged
merged 3 commits into from
Mar 15, 2021

Conversation

bmc-msft
Copy link
Contributor

Simplify the retry logic to always retry any failed request up to 5 times. The initial delay is now 5 seconds (plus jitter).

Additionally, upon failure we now indicate how many times we failed as well as the timing for each of the request.

src/agent/reqwest-retry/src/lib.rs Show resolved Hide resolved
src/agent/reqwest-retry/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Joe Ranweiler <joe@lemma.co>
@bmc-msft bmc-msft merged commit 09e4afc into microsoft:main Mar 15, 2021
@bmc-msft bmc-msft deleted the retry-everything branch March 15, 2021 23:10
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants