Skip to content

Commit 6b98720

Browse files
authored
Add unit of measurement for download-buffer-size
I started getting these warnings `warning: download buffer is full; consider increasing the 'download-buffer-size' setting` but the documentation does not make it obvious what unit of measurement it accepts.
1 parent ac31767 commit 6b98720

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstore/filetransfer.hh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ struct FileTransferSettings : Config
5050

5151
Setting<size_t> downloadBufferSize{this, 64 * 1024 * 1024, "download-buffer-size",
5252
R"(
53-
The size of Nix's internal download buffer during `curl` transfers. If data is
53+
The size of Nix's internal download buffer in bytes during `curl` transfers. If data is
5454
not processed quickly enough to exceed the size of this buffer, downloads may stall.
55+
The default is 67108864 (64MB).
5556
)"};
5657
};
5758

0 commit comments

Comments
 (0)