fix: 修复部署在没有密码的redis上时,站内信数量不更新问题

pull/8076/head
jiangweidong 2022-04-15 10:03:26 +08:00 committed by Jiangjie.Bai
parent 10c146b07d
commit 548a374c6d
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ CHANNEL_LAYERS = {
"hosts": [{
'address': (CONFIG.REDIS_HOST, CONFIG.REDIS_PORT),
'db': CONFIG.REDIS_DB_WS,
'password': CONFIG.REDIS_PASSWORD,
'password': CONFIG.REDIS_PASSWORD or None,
'ssl': context
}],
},