feat: 调整CHANNEL_LAYERS配置以适应大容量
This commit is contained in:
parent
b8fadbda35
commit
3726b96759
|
@ -145,6 +145,8 @@ CHANNEL_LAYERS = {
|
||||||
'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
||||||
'CONFIG': {
|
'CONFIG': {
|
||||||
"hosts": [('127.0.0.1', 6379)],
|
"hosts": [('127.0.0.1', 6379)],
|
||||||
|
"capacity": 1500,
|
||||||
|
"expiry": 10
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue