mirror of https://github.com/jumpserver/jumpserver
perf: 删除消息订阅时 websocket 重连的 redis 断开日志
parent
ca17faaf01
commit
df99067ee3
|
@ -53,7 +53,9 @@ class Subscription:
|
|||
error(msg, item)
|
||||
logger.error('Subscribe handler handle msg error: {}'.format(e))
|
||||
except Exception as e:
|
||||
logger.error('Consume msg error: {}'.format(e))
|
||||
# 正常的 websocket 断开时, redis 会断开连接,避免日志太多
|
||||
# logger.error('Consume msg error: {}'.format(e))
|
||||
pass
|
||||
|
||||
try:
|
||||
complete()
|
||||
|
|
Loading…
Reference in New Issue