add optional retry delay and backoff to the autoretry function#923
Open
connor-philip wants to merge 5 commits intobehave:mainfrom
Open
add optional retry delay and backoff to the autoretry function#923connor-philip wants to merge 5 commits intobehave:mainfrom
connor-philip wants to merge 5 commits intobehave:mainfrom
Conversation
bittner
reviewed
Jul 7, 2021
bittner
reviewed
Jul 13, 2021
6508bd4 to
a4dd3fe
Compare
11ddaf9 to
5101465
Compare
7ec93d2 to
46ad983
Compare
fe1ca4d to
fcfe5af
Compare
0a4d73b to
2c11d2e
Compare
3e51dda to
c6ab01c
Compare
eccf022 to
93e1218
Compare
cc16ac0 to
22569f4
Compare
01407cf to
42e64a9
Compare
9dc617b to
b8b23bc
Compare
612d6d1 to
5796057
Compare
370ce68 to
cba3c4f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I've made use of the patch_scenario_with_autoretry function recently to allow for Intermittent network issues however since the retries currently happen straight away, the issue would just happen N times in a row. Adding in a delay and a optional backoff helps to give some time for problems to recover.
Changes
Adding in optional parameters delay and backoff to the patch_scenario_with_autoretry function.