Skip to content
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

Add a bit of randomness to the wait time after source update failure #3661

Merged
merged 1 commit into from Sep 24, 2023

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Sep 24, 2023

Change

When we fail to add/update a source, make the retry time random rather than fixed.

Validation

Manually tried adding an invalid URL a few times to observe the effective wait time via logs. Was always in the distribution specified.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner September 24, 2023 05:11
@JohnMcPMS JohnMcPMS merged commit 9c5c5db into microsoft:master Sep 24, 2023
8 checks passed
@JohnMcPMS JohnMcPMS deleted the random-source-retry-time branch September 24, 2023 17:06
JohnMcPMS added a commit to JohnMcPMS/winget-cli that referenced this pull request Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants