1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

Merge pull request #12317 from kusold/patch-1

Add unit of measurement for download-buffer-size
This commit is contained in:
Eelco Dolstra 2025-01-20 23:42:59 +01:00 committed by GitHub
commit f358ab2b0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,8 +50,9 @@ struct FileTransferSettings : Config
Setting<size_t> downloadBufferSize{this, 64 * 1024 * 1024, "download-buffer-size", Setting<size_t> downloadBufferSize{this, 64 * 1024 * 1024, "download-buffer-size",
R"( R"(
The size of Nix's internal download buffer during `curl` transfers. If data is The size of Nix's internal download buffer in bytes during `curl` transfers. If data is
not processed quickly enough to exceed the size of this buffer, downloads may stall. not processed quickly enough to exceed the size of this buffer, downloads may stall.
The default is 67108864 (64 MiB).
)"}; )"};
}; };