From 7231556f47689e5afeaf9aafe2e63e46d3bdb516 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Dec 2008 10:42:37 +0000 Subject: [PATCH] * Cut off builds after half an hour of apparent inactivity. This should really be configurable. --- src/Hydra/script/hydra_build.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hydra/script/hydra_build.pl b/src/Hydra/script/hydra_build.pl index 2d86e1aa..d5a8d258 100755 --- a/src/Hydra/script/hydra_build.pl +++ b/src/Hydra/script/hydra_build.pl @@ -36,7 +36,7 @@ sub doBuild { # Run Nix to perform the build, and monitor the stderr output # to get notifications about specific build steps, the # associated log files, etc. - my $cmd = "nix-store --keep-going --no-build-output " . + my $cmd = "nix-store --max-silent-time 1800 --keep-going --no-build-output " . "--log-type flat --print-build-trace --realise $drvPath 2>&1"; my $buildStepNr = 1;