chat v3
This commit is contained in:
SDE
2023-08-13 14:50:35 +03:00
parent 2dd03e4d2f
commit 5d806d1498
4 changed files with 39 additions and 24 deletions

View File

@@ -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)],
# },
}
}