From: relan Date: Mon, 12 Feb 2018 10:45:49 +0000 (+0300) Subject: build: set overall timeout to 36 hours X-Git-Tag: 1.0.1~16^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c0f323e3435ed511dc0879f1a88dc576f63f67c0;p=fdroidserver.git build: set overall timeout to 36 hours Currently f-droid.org has a lot of pending builds and big delays between "fdroid build --all" runs. Bump overall build time limit from 12 hours to 36 hours to increase buildserver throughput. --- diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 0b575847..31fcdbb1 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -1082,8 +1082,8 @@ def main(): # Build applications... failed_apps = {} build_succeeded = [] - # Only build for 12 hours, then stop gracefully - endtime = time.time() + 12 * 60 * 60 + # Only build for 36 hours, then stop gracefully. + endtime = time.time() + 36 * 60 * 60 max_build_time_reached = False for appid, app in apps.items():