diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-07 13:15:44 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-07 13:15:44 +0200 |
commit | 1ba9403bae9f1de9a6b071ba40e461fa93ee4ca7 (patch) | |
tree | 90d38602253f0ca71746358b9480c2a992d3e02b | |
parent | eeb1c58849c507f3bb437e54d2c44eb22eafe159 (diff) | |
download | jenkins.debian.net-1ba9403bae9f1de9a6b071ba40e461fa93ee4ca7.tar.xz |
reproducible Debian: temporarily raise the personal daily scheduling limit to 2200
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index cd1eaad6..96a071b5 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -212,7 +212,7 @@ date = (now - time_delta).strftime('%Y-%m-%d %H:%M') log.debug('date_scheduled = ' + date + ' time_delta = ' + str(time_delta)) -# a single person can't schedule more than 200 packages in the same day; this +# a single person can't schedule more than 2200 packages in the same day; this # is actually easy to bypass, but let's give some trust to the Debian people query = """SELECT count(*) FROM manual_scheduler WHERE requester = '{}' AND date_request > '{}'""" @@ -221,7 +221,7 @@ try: except IndexError: amount = 0 log.debug(requester + ' already scheduled ' + str(amount) + ' packages today') -if amount + len(ids) > 200 and not local: +if amount + len(ids) > 2200 and not local: log.error(bcolors.FAIL + 'You have exceeded the maximum number of manual ' + 'reschedulings allowed for a day. Please ask in ' + '#debian-reproducible if you need to schedule more packages.' + |