From bed1ff574f8e49c43f9a1cfd149ae4d345e9ae09 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 9 Mar 2015 22:31:38 +0100 Subject: reproducible: improve scheduling numbers --- bin/reproducible_scheduler.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 7ced3b32..f4ff905a 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -228,12 +228,12 @@ def scheduler(): # packages with new versions new = {} - if total <= 250: + if total <= 100: many_new = 50 - elif total <= 450: + elif total <= 200: many_new = 25 else: - many_new = 0 + many_new = 5 log.info('Requesting ' + str(many_new) + ' new versions in' + suite + '...') for suite in SUITES: new[suite] = scheduler_new_versions(suite, many_new) @@ -243,12 +243,12 @@ def scheduler(): # old packages old = {} - if total <= 250: - many_old = 30 - elif total <= 350: - many_old = 25 + if total <= 75: + many_old = 25 # multiplied by 10, usually, see below + elif total <= 150: + many_old = 10 # ... else: - many_old = 0 + many_old = 1 for suite in SUITES: if suite != 'experimental': many_old = many_old*10 # experimental is roughly one tenth of the other suites in size -- cgit v1.2.3-54-g00ecf