1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Merge branch 'build-72h' into 'master'

build: set overall timeout to 72 hours

See merge request fdroid/fdroidserver!878
This commit is contained in:
Hans-Christoph Steiner 2021-03-08 13:37:13 +00:00
commit e2467a2e02

View File

@ -1055,8 +1055,8 @@ def main():
build_succeeded = []
status_output['failedBuilds'] = failed_builds
status_output['successfulBuilds'] = build_succeeded
# Only build for 36 hours, then stop gracefully.
endtime = time.time() + 36 * 60 * 60
# Only build for 72 hours, then stop gracefully.
endtime = time.time() + 72 * 60 * 60
max_build_time_reached = False
for appid, app in apps.items():