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

Allow "safe" Chocolatey operations to happen in parallel #672

Closed
gep13 opened this issue May 3, 2019 · 1 comment
Closed

Allow "safe" Chocolatey operations to happen in parallel #672

gep13 opened this issue May 3, 2019 · 1 comment
Labels
Improvement Issues that enhances existing functionality, or adds new features
Milestone

Comments

@gep13
Copy link
Member

gep13 commented May 3, 2019

Currently, all Chocolatey GUI operations are locked via a AsyncReaderWriterLock to prevent two operations happening at the same time. This makes sense for the following operations:

  • Install
  • Uninstall
  • Upgrade
  • Editing configuration

However, other operations, such as getting outdated packages, can happen in parallel.

Making this change, should speed up some operations within Chocolatey GUI, as they will no longer be blocked awaiting on other operations to complete.

@gep13 gep13 added the Improvement Issues that enhances existing functionality, or adds new features label May 3, 2019
@gep13 gep13 added this to the 0.17.0 milestone May 3, 2019
gep13 added a commit that referenced this issue May 3, 2019
Some operations in Chocolatey are "safe" and as such, we don't need to
prevent other operations from running at the same time.  This should
overall, speed up the execution of Chocolatey GUI.
gep13 added a commit that referenced this issue May 3, 2019
Some operations in Chocolatey are "safe" and as such, we don't need to
prevent other operations from running at the same time.  This should
overall, speed up the execution of Chocolatey GUI.
@gep13 gep13 closed this as completed May 3, 2019
@choco-bot
Copy link

🎉 This issue has been resolved in version 0.17.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Issues that enhances existing functionality, or adds new features
Projects
None yet
Development

No branches or pull requests

2 participants