mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-15 04:19:02 +00:00
perf[module]: Router发送消息增加高低水位判断 暂时改为warn
This commit is contained in:
1 parent
e4b9105a6a
commit
68c7caa2b9
1 file changed
+1
-2
@@ -174,8 +174,7 @@ public class Router implements IRouter {
|
|||||||
|
|
||||||
var channel = session.getChannel();
|
var channel = session.getChannel();
|
||||||
if (!channel.isActive() || !channel.isWritable()) {
|
if (!channel.isActive() || !channel.isWritable()) {
|
||||||
logger.error("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
|
logger.warn("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
channel.writeAndFlush(packetInfo);
|
channel.writeAndFlush(packetInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user