[IMP] change the kill timeout back to 30 min

This commit is contained in:
Gery Debongnie 2014-07-06 16:31:20 +02:00
parent a5a50a5694
commit 8def4a52f8

View File

@ -735,7 +735,7 @@ class runbot_build(osv.osv):
lock_path = build.path('logs', '%s.lock' % build.job)
if locked(lock_path):
# kill if overpassed
if build.job != jobs[-1] and build.job_time > 2400:
if build.job != jobs[-1] and build.job_time > 1800:
build.logger('%s time exceded (%ss)', build.job, build.job_time)
build.kill()
continue