forked from prefix-dev/pixi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
concurreny
configuration (prefix-dev#2569)
### Why Pixi can possibly use a big amount of memory during the solve or network requests during the repodata fetching. While we search for a better/automated solution we want to let the user escape the issue by forcing the amount of concurrent jobs. The related issue is: prefix-dev#2458 ### What this PR adds As a user you can now define the max concurrent solves and max network requests in two ways **CLI** ``` pixi install --concurrent-solves 3 pixi install --concurrent-downloads 12 ``` **configuration** ``` pixi config set concurrency.solves 1 pixi config set concurrency.downloads 12 ``` `config.toml` ```toml [concurrency] solves = 2 downloads = 12 ``` ### TODO: After initial approval of design I'll add the following: - [x] : Add documentation - [x] : Add basic cli and configuration test to the integration tests
- Loading branch information
1 parent
da969b9
commit db67027
Showing
37 changed files
with
529 additions
and
175 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
default_channels = ["conda-forge", "bioconda", "defaults"] | ||
tls_no_verify = true | ||
|
||
# Hardcode as we don't want this to depend on the system in the tests | ||
concurrency.solves = 1 |
Oops, something went wrong.