-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant
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 @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @hugovk, I could not cleanly backport this to
|
Sorry, @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 <emma@emmatyping.dev>
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.