aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/constants.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-30 22:59:24 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-30 22:59:24 +0100
commit5e16383ce6df09bd1147f5470e63fe2daa178581 (patch)
tree1bc1a3766c3cf5a922d01ac0333a10b6ed94d18b /pysite/constants.py
parentTravis should probably run rabbitmq (diff)
Attempt to fix travis build
Diffstat (limited to 'pysite/constants.py')
-rw-r--r--pysite/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/constants.py b/pysite/constants.py
index a9040751..5c377300 100644
--- a/pysite/constants.py
+++ b/pysite/constants.py
@@ -122,7 +122,7 @@ BOT_EVENT_QUEUE = "bot_events"
RMQ_USERNAME = environ.get("RABBITMQ_DEFAULT_USER") or "guest"
RMQ_PASSWORD = environ.get("RABBITMQ_DEFAULT_PASS") or "guest"
-RMQ_HOST = "pdrmq" if not DEBUG_MODE else "localhost"
+RMQ_HOST = "pdrmq" if not DEBUG_MODE else environ.get("RABBITMQ_HOST") or "localhost"
RMQ_PORT = 5672
# Channels