perf: 删除消息订阅时 websocket 重连的 redis 断开日志

pull/8943/head
Jiangjie.Bai 2022-10-11 16:38:41 +08:00
parent ca17faaf01
commit df99067ee3
1 changed files with 3 additions and 1 deletions

View File

@ -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()