mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -1164,7 +1164,11 @@ def main():
|
|||
# Build applications...
|
||||
failed_apps = {}
|
||||
build_succeeded = []
|
||||
max_apps_per_run = 10
|
||||
for appid, app in apps.items():
|
||||
max_apps_per_run -= 1
|
||||
if max_apps_per_run < 1:
|
||||
break
|
||||
|
||||
first = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue