[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: schedule more old packages if few new packages are in queue
Holger Levsen
holger at moszumanska.debian.org
Wed Mar 11 18:02:14 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 4168b117950bce523660c54fa878f50237b082c5
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Mar 11 18:59:01 2015 +0100
reproducible: schedule more old packages if few new packages are in queue
---
bin/reproducible_scheduler.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 3a192cc..afb7809 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -246,12 +246,14 @@ def scheduler():
if total <= 150:
many_old = 25 # multiplied by 10, usually, see below
elif total <= 250:
+ many_old = 15 # also...
+ elif total <= 350:
many_old = 10 # ...
else:
- many_old = 5
+ many_old = 5 # ...
for suite in SUITES:
if suite != 'experimental':
- many_old = many_old*10 # experimental is roughly one tenth of the other suites in size
+ many_old = many_old*10 # experimental is roughly one tenth of the size of the other suites
log.info('Requesting ' + str(many_old) + ' old packages in ' + suite + '...')
old[suite] = scheduler_old_versions(suite, many_old)
total += len(old[suite])
--
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