From: Kyle J. McKay Date: Thu, 17 Apr 2014 22:49:51 +0000 (-0700) Subject: jobd.pl: allow gc longer before timing out X-Git-Url: https://repo.or.cz/w/girocco.git/commitdiff_plain/bbdef253e6c688045490396de2a4fa03195ee0de jobd.pl: allow gc longer before timing out --- diff --git a/jobd/jobd.pl b/jobd/jobd.pl index 9cfd422..2d848c2 100755 --- a/jobd/jobd.pl +++ b/jobd/jobd.pl @@ -72,6 +72,8 @@ sub gc_project { job_skip($job, "not needed right now, last run at $ts"); return; } + # allow garbage collection to run for longer than an update + $job->{'timeout_factor'} = 2; exec_job_command($job, ["$Girocco::Config::basedir/jobd/gc.sh", $p], $quiet); }