From 0668f0db74ade07f6243744b5ae7c4e7a87468f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Mon, 29 Sep 2025 09:41:34 +0200 Subject: [PATCH] Lower connect timeout when using hut substituter Reviewed-by: Rodrigo Arias Mallo --- m/module/hut-substituter.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m/module/hut-substituter.nix b/m/module/hut-substituter.nix index 8d27a45..92fda0b 100644 --- a/m/module/hut-substituter.nix +++ b/m/module/hut-substituter.nix @@ -6,5 +6,8 @@ { extra-substituters = [ "http://hut/cache" ]; extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; + + # Set a low timeout in case hut is down + connect-timeout = 3; # seconds }; }