summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-12 15:59:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-12 15:59:48 +0100
commita663717a6722c9791ce26aad6d021705a5b054f6 (patch)
treeb35b87114faee46ea64116facded705d82b757f7 /bin
parent2c483adb84026e47e25f62e89a42dac8ffd30674 (diff)
downloadjenkins.debian.net-a663717a6722c9791ce26aad6d021705a5b054f6.tar.xz
reproducible: simplify scheduler
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 0a2139e7..96a8ffb6 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -230,11 +230,11 @@ def scheduler():
# packages with new versions
new = {}
if total <= 100:
- many_new = 60
+ many_new = 100
elif total <= 200:
- many_new = 40
+ many_new = 75
else:
- many_new = 20
+ many_new = 50
log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...')
for suite in SUITES:
new[suite] = scheduler_new_versions(suite, many_new)
@@ -244,14 +244,12 @@ def scheduler():
# old packages
old = {}
- if total <= 150:
+ if total <= 250:
many_old = 25 # multiplied by 10, usually, see below
- elif total <= 250:
- many_old = 15 # also...
elif total <= 350:
- many_old = 10 # ...
+ many_old = 17 # also...
elif total <= 450:
- many_old = 5 # ...
+ many_old = 10 # ...
else:
many_old = 1 # ...
for suite in SUITES: