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

@@ -10,18 +10,6 @@ DATABASES = {
}
}
BROKER_URL = 'redis://{}:{}/'.format(
"{{ redis_hostname }}",
"{{ redis_port }}",)
CHANNEL_LAYERS = {
'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
'hosts': [("{{ redis_hostname }}", {{ redis_port|int }})],
'capacity': 10000,
}}
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',