0.3.14
support chat v3 switch to redis
This commit is contained in:
@@ -93,11 +93,11 @@ ASGI_APPLICATION = 'TWB.asgi.application'
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
'default': {
|
||||
'BACKEND': 'channels.layers.InMemoryChannelLayer'
|
||||
# "BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
# "CONFIG": {
|
||||
# "hosts": [("127.0.0.1", 6379)],
|
||||
# },
|
||||
# 'BACKEND': 'channels.layers.InMemoryChannelLayer',
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [("127.0.0.1", 6379)],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user