mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
build: limit --all to 10 apps at a time
This needed now because the buildserver is hanging so often, that we are often going a week or more without any builds published. Perhaps this is only temporary, or maybe we will want to flush this feature out more as a standard thing. But we really need it for now to at least get some builds out on a daily basis. Since the website deploy is also triggered by this cycle, making the build finish more often means the website will be published more often.
This commit is contained in:
parent
c29d135de1
commit
afc5cc6b6a
@ -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