From a663717a6722c9791ce26aad6d021705a5b054f6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 12 Mar 2015 15:59:48 +0100 Subject: reproducible: simplify scheduler --- bin/reproducible_scheduler.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 0a2139e7..96a8ffb6 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -230,11 +230,11 @@ def scheduler(): # packages with new versions new = {} if total <= 100: - many_new = 60 + many_new = 100 elif total <= 200: - many_new = 40 + many_new = 75 else: - many_new = 20 + many_new = 50 log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...') for suite in SUITES: new[suite] = scheduler_new_versions(suite, many_new) @@ -244,14 +244,12 @@ def scheduler(): # old packages old = {} - if total <= 150: + if total <= 250: many_old = 25 # multiplied by 10, usually, see below - elif total <= 250: - many_old = 15 # also... elif total <= 350: - many_old = 10 # ... + many_old = 17 # also... elif total <= 450: - many_old = 5 # ... + many_old = 10 # ... else: many_old = 1 # ... for suite in SUITES: -- cgit v1.2.3-70-g09d2