[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Revert "reproducible debian: temporarily rise the schedule limit (again)"

Mattia Rizzolo mattia at debian.org
Wed Apr 12 13:24:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 77ff2abfad370f6fde62554ede127d398b23765e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Apr 12 15:23:31 2017 +0200

    Revert "reproducible debian: temporarily rise the schedule limit (again)"
    
    This reverts commit e32380742425313817f235ed1774a45ea9c2752f.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_remote_scheduler.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 2164bbb..cd1eaad 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 2000 packages in the same day; this
+# a single person can't schedule more than 200 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) > 2000 and not local:
+if amount + len(ids) > 200 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.' +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list