feat: 调整CHANNEL_LAYERS配置以适应大容量

This commit is contained in:
caoqianming 2023-09-01 11:57:01 +08:00
parent b8fadbda35
commit 3726b96759
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ CHANNEL_LAYERS = {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('127.0.0.1', 6379)],
"capacity": 1500,
"expiry": 10
},
},
}