Skip to content

nix store copy-sigs: Use http-connections setting to control parallelism#14373

Merged
Mic92 merged 1 commit intomasterfrom
copy-sigs-parallel
Oct 27, 2025
Merged

nix store copy-sigs: Use http-connections setting to control parallelism#14373
Mic92 merged 1 commit intomasterfrom
copy-sigs-parallel

Conversation

@edolstra
Copy link
Member

Motivation

Previously it used the ThreadPool default, i.e. std::thread::hardware_concurrency(). But copying signatures is not primarily CPU-bound so it makes more sense to use the http-connections setting (since we're typically copying from/to a binary cache).

Taken from DeterminateSystems#80.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Previously it used the `ThreadPool` default,
i.e. `std::thread::hardware_concurrency()`. But copying signatures is
not primarily CPU-bound so it makes more sense to use the
`http-connections` setting (since we're typically copying from/to a
binary cache).
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Oct 27, 2025
@Mic92 Mic92 added this pull request to the merge queue Oct 27, 2025
Merged via the queue into master with commit d44b335 Oct 27, 2025
20 checks passed
@Mic92 Mic92 deleted the copy-sigs-parallel branch October 27, 2025 18:34
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants