Right now, Lix waits for quite a while five times[1] if a substituter is down. If the substituter is not reachable for that long, it's probably down or so slow that it doesn't make sense to download from it. Also, most people would abort earlier assuming that Lix just behaves weird in that case. Reducing the timeout to 5s to make the behavior a little better. If people live in areas with poor connection where a higher timeout would be appropriate, I'd argue that they should increase the timeout rather than requiring everbody else to set it to a non-zero value. Additionally, communicate how often we're re-trying. [1] Because of `download-attempts` from `nix.conf(5)` Change-Id: I8500dce0c8230247dd492e43cc7af4d3b58c4710
254 B
254 B
synopsis, issues, cls, category, credits
| synopsis | issues | cls | category | credits | ||
|---|---|---|---|---|---|---|
| Set default of `connect-timeout` to `5` |
|
Miscellany |
|
By default, the connection timeout to substituters is now 5s instead of 300s. That way, unavailable substituters are detected quicker.