-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Better retries #22898
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
Better retries #22898
Conversation
Copied from eng/common/tools.ps1
|
👀 |
|
Gist of the change is added a new download.ps1 helper that does 5 retries with exponential backoff (copied from eng/common/tools.ps1), everywhere we were using invoke-webrequest directly has been updated to use this |
dougbu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This covers the *.ps1 files nicely.
We also need to add --retries 5 to all curl commands in *.sh files. Are you planning to do that in a separate PR❔
|
Yeah I'll do the non ps1's in a different PR |
dougbu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing to test and maybe fix. Otherwise, looks great!
dougbu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops
Fixes #20577