mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Merge branch 'timeout_flag' into 'master'
build: clear timeout flag before every build See merge request fdroid/fdroidserver!455
This commit is contained in:
commit
d4e64bda4c
1 changed files with 1 additions and 0 deletions
|
|
@ -1102,6 +1102,7 @@ def main():
|
||||||
if options.server and timeout > 0:
|
if options.server and timeout > 0:
|
||||||
logging.debug(_('Setting {0} sec timeout for this build').format(timeout))
|
logging.debug(_('Setting {0} sec timeout for this build').format(timeout))
|
||||||
timer = threading.Timer(timeout, force_halt_build, [timeout])
|
timer = threading.Timer(timeout, force_halt_build, [timeout])
|
||||||
|
timeout_event.clear()
|
||||||
timer.start()
|
timer.start()
|
||||||
else:
|
else:
|
||||||
timer = None
|
timer = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue