diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-05-18 13:51:51 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-05-18 13:51:51 +0200 |
commit | 284e1260e066680f67c6103ddb6880821fcc72fd (patch) | |
tree | d8029cf64e8bf381bd6b5a64b1ec152d455c37c6 | |
parent | 49da845e6863c63eea0b9663a0e5189f9664a2cc (diff) | |
download | jenkins.debian.net-284e1260e066680f67c6103ddb6880821fcc72fd.tar.xz |
reproducible: improve comments
-rwxr-xr-x | bin/reproducible_scheduler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 8b398e26..23434149 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -256,18 +256,18 @@ def scheduler(): # old packages old = {} if total <= 250: - many_old_base = 35 # multiplied by 10 or 5, usually, see below + many_old_base = 35 # multiplied by 10 or 5 or 1, see below elif total <= 350: many_old_base = 25 # also... else: many_old_base = 0 # ... for suite in SUITES: if suite == 'unstable': - suite_many_old = many_old_base*10 # experimental is roughly one tenth of the size of the other suites + suite_many_old = many_old_base*10 # unstable changes the most and is most relevant elif suite == 'testing': - suite_many_old = many_old_base*5 # re-schedule testing less than unstable as we care more about unstable and because unstable changes more frequently + suite_many_old = many_old_base*5 # re-schedule testing less than unstable as we care more more about unstable (atm) else: - suite_many_old = many_old_base + suite_many_old = many_old_base # experimental is roughly one tenth of the size of the other suites log.info('Requesting ' + str(suite_many_old) + ' old packages in ' + suite + '...') old[suite] = scheduler_old_versions(suite, suite_many_old) total += len(old[suite]) |