[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: improve scheduling numbers
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 9 21:37:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit bed1ff574f8e49c43f9a1cfd149ae4d345e9ae09
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 9 22:31:38 2015 +0100
reproducible: improve scheduling numbers
---
bin/reproducible_scheduler.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7ced3b3..f4ff905 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list