support chat v3
This commit is contained in:
SDE
2023-08-16 15:33:46 +03:00
parent 4d8ee4bfcc
commit e86aa76002
4 changed files with 25 additions and 10 deletions

View File

@@ -91,10 +91,14 @@ TEMPLATES = [
# WSGI_APPLICATION = 'TWB.wsgi.application'
ASGI_APPLICATION = 'TWB.asgi.application'
WS_PORT = 8000
CHANNEL_LAYERS = {
'default': {
# 'BACKEND': 'channels.layers.InMemoryChannelLayer',
"BACKEND": "channels_redis.core.RedisChannelLayer",
# 'USER': 'spadredis-zxs-service',
# 'PASSWORD': '9zghygpri84f8vl',
"CONFIG": {
"hosts": [("127.0.0.1", 6379)],
},