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:
commit
8c243ee7eb
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user