mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 15:57:52 -02:30
move broadcast websocket out into its own process
This commit is contained in:
committed by
Ryan Petrello
parent
f5193e5ea5
commit
3c5c9c6fde
@@ -87,11 +87,10 @@ if os.getenv("DATABASE_SSLMODE", False):
|
||||
|
||||
BROKER_URL = 'redis://{}:{}'.format(
|
||||
os.getenv("REDIS_HOST", None),
|
||||
os.getenv("REDIS_PORT", "6379"),
|
||||
os.getenv("REDIS_PORT", "6379"),)
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
||||
'ROUTING': 'awx.main.routing.channel_routing',
|
||||
'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
||||
'CONFIG': {'hosts': [(os.getenv("REDIS_HOST", None), int(os.getenv("REDIS_PORT", 6379)))]}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user