-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-1397) Reduce traffic - choco queries
Ensure all Chocolatey queries are sped up by using better selection on the front part of the call to ensure what is returned is the result that is being requested without a huge amount of traffic to get to that value. Previously, a call to find a package or even a version for upgrade might send queries to remote sources to provide all of the versions of a package starting with the oldest version to the latest. This results in terrible performance, especially as a source continues to have more and more versions of a package, the performance gets worse. Instead, for install/upgrade/outdated scenarios where choco is querying service-based url, it should make one call ensuring it receives the version it is looking for.
- Loading branch information
1 parent
419ed4a
commit 7788964
Showing
2 changed files
with
142 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters