-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-134262: increase retries in Tools/build/generate_sbom.py
#134558
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
Conversation
- Increase max retry count to 7 - Increase base of exponential backoff to 2.25 - Add jitter in case there is some issue with sending requests at the same time - Also print the location that fails
Tools/build/generate_sbom.py
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.
Thanks!
Thanks @emmatyping for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @emmatyping and @hugovk, I could not cleanly backport this to
|
Sorry, @emmatyping and @hugovk, I could not cleanly backport this to
|
Does this still need backporting? |
Ideally probably. I can try to do that tomorrow. |
…m.py` (pythonGH-134558) (cherry picked from commit 3f9eb55) Co-authored-by: Emma Smith <[email protected]>
GH-135596 is a backport of this pull request to the 3.14 branch. |
The retries aren't in the 3.13 branch, so I only made changes for 3.14. |
The retry backoff now ranges from 1 second to 130 seconds.