From 30e8b14b12c866fe897b68ae9aa09c5a9b5f54fb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 29 Nov 2008 01:26:51 +0000 Subject: [PATCH] * Better timeout. --- src/Hydra/script/hydra_queue_runner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hydra/script/hydra_queue_runner.pl b/src/Hydra/script/hydra_queue_runner.pl index bd222246..fb67e688 100755 --- a/src/Hydra/script/hydra_queue_runner.pl +++ b/src/Hydra/script/hydra_queue_runner.pl @@ -29,10 +29,10 @@ sub unlockDeadBuilds { # Work around sqlite locking timeouts: if the child # barfed because of a locked DB before updating the # `locker' field, then `locker' is still set to $$. - # So if after 2 minutes it hasn't been updated, + # So if after a minute it hasn't been updated, # unlock the build. !!! need a better fix for those # locking timeouts. - if ($build->schedulingInfo->starttime + 10 < time) { + if ($build->schedulingInfo->starttime + 60 < time) { $unlock = 1; } } elsif (kill(0, $pid) != 1) { # see if we can signal the process