From afc5cc6b6a969bb1f12eb325df436eaadac53099 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 21 Dec 2017 23:15:08 +0100 Subject: [PATCH] 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. --- fdroidserver/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 3f428af7..9497747b 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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 -- 2.30.2