mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
1.1 KiB
1.1 KiB
| synopsis | prs | issues | ||
|---|---|---|---|---|
| Fix "download buffer is full; consider increasing the 'download-buffer-size' setting" warning |
|
|
The underlying issue that led to #11728 has been resolved by utilizing
libcurl write pausing functionality to control backpressure when unpacking to slow destinations like the git-backed tarball cache. The default value of download-buffer-size is now 1 MiB and it's no longer recommended to increase it, since the root cause has been fixed.
This is expected to improve download performance on fast connections, since previously a single slow download consumer would stall the thread and prevent any other transfers from progressing.
Many thanks go out to the Lix project for the implementation that served as inspiration for this change and for triaging libcurl issues with pausing.