diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-20 00:43:26 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-20 00:43:26 +0100 |
commit | edb36657f7cf26255d07581b4d4aa1feeb2e0ef0 (patch) | |
tree | 6bc346879458d0ee481e370d62e9ec3cc9053266 /bin | |
parent | 260aa1ac8801f6e73f57990c35e25ae237f72468 (diff) | |
download | jenkins.debian.net-edb36657f7cf26255d07581b4d4aa1feeb2e0ef0.tar.xz |
reproducible: schedule new versions when < MAXIMA*3 packages are scheduled
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 ' |