mirror of https://github.com/jumpserver/jumpserver
fix: 修复部署在没有密码的redis上时,站内信数量不更新问题
parent
10c146b07d
commit
548a374c6d
|
@ -101,7 +101,7 @@ CHANNEL_LAYERS = {
|
||||||
"hosts": [{
|
"hosts": [{
|
||||||
'address': (CONFIG.REDIS_HOST, CONFIG.REDIS_PORT),
|
'address': (CONFIG.REDIS_HOST, CONFIG.REDIS_PORT),
|
||||||
'db': CONFIG.REDIS_DB_WS,
|
'db': CONFIG.REDIS_DB_WS,
|
||||||
'password': CONFIG.REDIS_PASSWORD,
|
'password': CONFIG.REDIS_PASSWORD or None,
|
||||||
'ssl': context
|
'ssl': context
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue