summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-23 23:11:02 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-23 23:11:02 +0200
commitb2b801b5c5a0b372196735146b9db12988b3c532 (patch)
tree887c1051f6d50fe6942253728dad6e43f3a982f8 /bin/reproducible_remote_scheduler.py
parentb8686a4fa0dc021a2a0dc081f1ab3f1ee042f062 (diff)
downloadjenkins.debian.net-b2b801b5c5a0b372196735146b9db12988b3c532.tar.xz
reproducible debian: bump daily scheduling limit to 500 for lamby
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 6ba1f3a3..26fc79de 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 500 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) > 500 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.' +