mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: give more life to builds
This commit is contained in:
parent
90d251615e
commit
38d1ed7d11
@ -722,7 +722,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 > 1800:
|
if build.job != jobs[-1] and build.job_time > 2400:
|
||||||
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