perf[module]: Router发送消息增加高低水位判断 暂时改为warn

This commit is contained in:
jianan
2022-08-04 16:15:02 +08:00
parent e4b9105a6a
commit 68c7caa2b9
@@ -174,8 +174,7 @@ public class Router implements IRouter {
var channel = session.getChannel();
if (!channel.isActive() || !channel.isWritable()) {
logger.error("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
return;
logger.warn("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
}
channel.writeAndFlush(packetInfo);
}