redis socket support

This commit is contained in:
chris meyers
2020-03-05 14:19:46 -05:00
committed by Ryan Petrello
parent d58df0f34a
commit 770b457430
26 changed files with 95 additions and 91 deletions

View File

@@ -12,15 +12,3 @@ DATABASES = {
},
}
}
BROKER_URL = 'redis://{}:{}/'.format(
"{{ kubernetes_redis_hostname }}",
"{{ kubernetes_redis_port }}",)
CHANNEL_LAYERS = {
'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
'hosts': [("{{ kubernetes_redis_hostname }}", {{ kubernetes_redis_port|int }})],
'capacity': 10000,
}}
}