-
Notifications
You must be signed in to change notification settings - Fork 385
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
upgrade-all is slow #1353
Comments
Agreed. I'll look into this. |
Great! Small correction, I meant
|
I think this would best be tackled after #149 has been addressed, as then we'll be able to handle requests to the simple API for newer versions in parallel. |
How would this feature be useful?
When running
topgrade
, pipx is the slowest step when there are no upgradesDescribe the solution you'd like
pipx upgrade-all
should check if upgrades are available in parallel. It’s fine if they’re upgraded in sequence, but taking 2 seconds to check if 3 tools have upgrades pending is a bit slow.Maybe using a connection pool with limited size if we want to overengineer things. I assume for most users, starting x requests, where x is the number of installed tools would be fine.
Describe alternatives you've considered
none
The text was updated successfully, but these errors were encountered: