diff options
author | 2018-05-30 22:59:24 +0100 | |
---|---|---|
committer | 2018-05-30 22:59:24 +0100 | |
commit | 5e16383ce6df09bd1147f5470e63fe2daa178581 (patch) | |
tree | 1bc1a3766c3cf5a922d01ac0333a10b6ed94d18b /pysite | |
parent | Travis should probably run rabbitmq (diff) |
Attempt to fix travis build
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/constants.py | 2 |
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 |