chiark / gitweb /
build: limit --all to 10 apps at a time
[fdroidserver.git] / fdroidserver / build.py
index 3f428af789e3aaf86a0b4e19ae786edce7ee980f..9497747b120ca46a8971da72687902116b3ed6e1 100644 (file)
@@ -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