Commit 37eea7f4 by Chif Gergő

Add redis config as channel layer

parent b89e69da
...@@ -242,4 +242,13 @@ AUTHENTICATION_BACKENDS = ( ...@@ -242,4 +242,13 @@ AUTHENTICATION_BACKENDS = (
'guardian.backends.ObjectPermissionBackend', 'guardian.backends.ObjectPermissionBackend',
) )
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('127.0.0.1', 6379)],
},
},
}
ASGI_APPLICATION = "recircle.routing.application" ASGI_APPLICATION = "recircle.routing.application"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment