summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-09 22:31:38 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-09 22:31:38 +0100
commitbed1ff574f8e49c43f9a1cfd149ae4d345e9ae09 (patch)
tree624bd33fae9935421321ab023817c945d835a10e
parent8a7b21ec996ffc2f3b94ab5209e5f118ae9c52c6 (diff)
downloadjenkins.debian.net-bed1ff574f8e49c43f9a1cfd149ae4d345e9ae09.tar.xz
reproducible: improve scheduling numbers
-rwxr-xr-xbin/reproducible_scheduler.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7ced3b32..f4ff905a 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -228,12 +228,12 @@ def scheduler():
# packages with new versions
new = {}
- if total <= 250:
+ if total <= 100:
many_new = 50
- elif total <= 450:
+ elif total <= 200:
many_new = 25
else:
- many_new = 0
+ many_new = 5
log.info('Requesting ' + str(many_new) + ' new versions in' + suite + '...')
for suite in SUITES:
new[suite] = scheduler_new_versions(suite, many_new)
@@ -243,12 +243,12 @@ def scheduler():
# old packages
old = {}
- if total <= 250:
- many_old = 30
- elif total <= 350:
- many_old = 25
+ if total <= 75:
+ many_old = 25 # multiplied by 10, usually, see below
+ elif total <= 150:
+ many_old = 10 # ...
else:
- many_old = 0
+ many_old = 1
for suite in SUITES:
if suite != 'experimental':
many_old = many_old*10 # experimental is roughly one tenth of the other suites in size