From 4168b117950bce523660c54fa878f50237b082c5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 11 Mar 2015 18:59:01 +0100 Subject: 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 3a192cce..afb7809d 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]) -- cgit v1.2.3-70-g09d2