From edb36657f7cf26255d07581b4d4aa1feeb2e0ef0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 20 Jan 2016 00:43:26 +0100 Subject: reproducible: schedule new versions when < MAXIMA*3 packages are scheduled --- bin/reproducible_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_scheduler.py') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 99acd349..b5014b59 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -31,7 +31,7 @@ How the scheduler chooses which limit to apply, based on the MAXIMA and LIMIT arrays: First, the scheduler is only started for an architecture if the number of -currently scheduled packages is lower than MAXIMA*2. Then if the number of +currently scheduled packages is lower than MAXIMA*3. Then if the number of scheduled packages is higher than MAXIMA, only new versions are scheduled... @@ -580,7 +580,7 @@ if __name__ == '__main__': for arch in ARCHS: log.info('Scheduling for %s...', arch) overall = int(query_db(query.format(arch))[0][0]) - if overall > (MAXIMA[arch]*2): + if overall > (MAXIMA[arch]*3): log.info('%s packages already scheduled for %s, nothing to do.', overall, arch) continue log.info('%s packages already scheduled for %s, probably scheduling some ' -- cgit v1.2.3-54-g00ecf