mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] change the kill timeout back to 30 min
This commit is contained in:
parent
a5a50a5694
commit
8def4a52f8
@ -735,7 +735,7 @@ class runbot_build(osv.osv):
|
|||||||
lock_path = build.path('logs', '%s.lock' % build.job)
|
lock_path = build.path('logs', '%s.lock' % build.job)
|
||||||
if locked(lock_path):
|
if locked(lock_path):
|
||||||
# kill if overpassed
|
# 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.logger('%s time exceded (%ss)', build.job, build.job_time)
|
||||||
build.kill()
|
build.kill()
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user