Skip to content

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

Merged
grahamc merged 2 commits intodetsys-mainfrom
copy-sigs
Jun 2, 2025
Merged

nix store copy-sigs: Use http-connections setting to control parallelism#80
grahamc merged 2 commits intodetsys-mainfrom
copy-sigs

Conversation

@edolstra
Copy link
Collaborator

@edolstra edolstra commented Jun 2, 2025

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).

Also added missing docs.

Context

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
Copy link

github-actions bot commented Jun 2, 2025

@github-actions github-actions bot temporarily deployed to pull request June 2, 2025 09:53 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 2, 2025 10:15 Inactive
@grahamc grahamc added this pull request to the merge queue Jun 2, 2025
Merged via the queue into detsys-main with commit 44bdb74 Jun 2, 2025
27 checks passed
@grahamc grahamc deleted the copy-sigs branch June 2, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants