1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

Merge branch 'limit-build-all' into 'master'

build: limit --all to 10 apps at a time

See merge request fdroid/fdroidserver!420
This commit is contained in:
Marcus 2017-12-22 13:09:16 +00:00
commit 8c243ee7eb

View File

@ -1164,7 +1164,11 @@ def main():
# Build applications... # Build applications...
failed_apps = {} failed_apps = {}
build_succeeded = [] build_succeeded = []
max_apps_per_run = 10
for appid, app in apps.items(): for appid, app in apps.items():
max_apps_per_run -= 1
if max_apps_per_run < 1:
break
first = True first = True