From 39a5637df2080b975860604ddefc188172f9363e Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Wed, 7 Feb 2018 20:46:29 +0100 Subject: [PATCH] build: clear timeout flag before every build This fixes the weird logging behaviour where after a build that timed out all subsequent failed builds would also show up as timed out. --- fdroidserver/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 0b575847..4ece75d8 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -1102,6 +1102,7 @@ def main(): if options.server and timeout > 0: logging.debug(_('Setting {0} sec timeout for this build').format(timeout)) timer = threading.Timer(timeout, force_halt_build, [timeout]) + timeout_event.clear() timer.start() else: timer = None -- 2.30.2