diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-11 18:59:01 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-11 18:59:01 +0100 |
commit | 4168b117950bce523660c54fa878f50237b082c5 (patch) | |
tree | eab13137faa105426a5c209a5bffdc1fe6d5da63 | |
parent | 823267afdd4fef39e074967559215655fb19eb3a (diff) | |
download | jenkins.debian.net-4168b117950bce523660c54fa878f50237b082c5.tar.xz |
reproducible: schedule more old packages if few new packages are in queue
-rwxr-xr-x | bin/reproducible_scheduler.py | 6 |
1 files 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]) |