jobd.pl: allow gc longer before timing out
authorKyle J. McKay <mackyle@gmail.com>
Thu, 17 Apr 2014 22:49:51 +0000 (17 15:49 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 17 Apr 2014 22:49:51 +0000 (17 15:49 -0700)
jobd/jobd.pl

index 9cfd422..2d848c2 100755 (executable)
@@ -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);
 }