mirror of https://github.com/openspug/spug
U 优化配置参数
parent
06b17b98d5
commit
910e366fc6
|
@ -86,6 +86,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": 1000,
|
||||||
|
"expiry": 120,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue