mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 14:15:22 +00:00
perf[idle]: code layout
This commit is contained in:
1 parent
a68f323933
commit
59cf26efd0
1 file changed
+1
-1
@@ -37,8 +37,8 @@ public class ServerIdleHandler extends ChannelDuplexHandler {
|
||||
IdleStateEvent event = (IdleStateEvent) evt;
|
||||
if (event.state() == IdleState.ALL_IDLE) {
|
||||
logger.warn("channel is time out for close {}", SessionUtils.sessionSimpleInfo(ctx));
|
||||
ctx.close();
|
||||
}
|
||||
ctx.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user