Skip to content

Commit ff328e1

Browse files
authored
Merge pull request #12876 from Mic92/connect-timeout
decrease connect-timeout to 5s
2 parents d81b51d + bef91a6 commit ff328e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/include/nix/store/filetransfer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct FileTransferSettings : Config
3030
{"binary-caches-parallel-connections"}};
3131

3232
Setting<unsigned long> connectTimeout{
33-
this, 0, "connect-timeout",
33+
this, 5, "connect-timeout",
3434
R"(
3535
The timeout (in seconds) for establishing connections in the
3636
binary cache substituter. It corresponds to `curl`’s

0 commit comments

Comments
 (0)