Add config to allow for setting the queue names at runtime. Fix a bug in the data model.

This commit is contained in:
jakedt 2014-04-11 19:23:57 -04:00
parent 61a6db236f
commit 4b8217d4ad
4 changed files with 8 additions and 5 deletions

View file

@ -123,6 +123,9 @@ class DefaultConfig(object):
with open(tag_path) as tag_svg:
STATUS_TAGS[tag_name] = tag_svg.read()
WEBHOOK_QUEUE_NAME = 'webhook'
DIFFS_QUEUE_NAME = 'imagediff'
DOCKERFILE_BUILD_QUEUE_NAME = 'dockerfilebuild'
# Super user config. Note: This MUST BE an empty list for the default config.
SUPER_USERS = []