add rate limiting to build queues

This commit is contained in:
Jimmy Zelinskie 2016-12-05 16:07:00 -05:00
parent f0b19b26c9
commit 7877c6ab94
6 changed files with 36 additions and 8 deletions

View file

@ -399,3 +399,7 @@ class DefaultConfig(object):
# Location of the static marketing site.
STATIC_SITE_BUCKET = None
# Maximum number of builds allowed to be queued per repository before rejecting requests.
# Values less than zero allow queues of infinite size.
MAX_BUILD_QUEUE_SIZE = -1