U 优化配置参数

pull/191/head
vapao 2020-09-02 18:28:44 +08:00
parent 06b17b98d5
commit 910e366fc6
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ CHANNEL_LAYERS = {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [("127.0.0.1", 6379)],
"capacity": 1000,
"expiry": 120,
},
},
}