add channels to reqs and defaults

This commit is contained in:
Wayne Witzel III
2016-09-27 10:19:35 -04:00
parent b448621387
commit 258ddba333
3 changed files with 8 additions and 0 deletions

View File

@@ -84,6 +84,12 @@ BROKER_URL = "amqp://{}:{}@{}/{}".format(os.environ.get("RABBITMQ_USER"),
os.environ.get("RABBITMQ_HOST"),
os.environ.get("RABBITMQ_VHOST"))
CHANNEL_LAYERS = {
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
'ROUTING': 'awx.main.routing.channel_routing',
'CONFIG': {'url': BROKER_URL}}
}
# Mongo host configuration
MONGO_HOST = NotImplemented