summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-12 00:32:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-12 00:32:13 +0100
commit896914d6fe9d5163ec43541e610e9ad4a9a884fb (patch)
treee93c6968170f7d1a34f7fd167ee6ddad18ff8781 /bin
parent046a778b42ae17f3774eae279b5e6f282106940c (diff)
downloadjenkins.debian.net-896914d6fe9d5163ec43541e610e9ad4a9a884fb.tar.xz
reproducible: schedule less old ones when new versions have been scheduled
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index e0705f72..0a2139e7 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -250,8 +250,10 @@ def scheduler():
many_old = 15 # also...
elif total <= 350:
many_old = 10 # ...
+ elif total <= 450:
+ many_old = 5 # ...
else:
- many_old = 5 # ...
+ many_old = 1 # ...
for suite in SUITES:
if suite != 'experimental':
many_old = many_old*10 # experimental is roughly one tenth of the size of the other suites