isapego commented on code in PR #1787:
URL: https://github.com/apache/ignite-3/pull/1787#discussion_r1135479033
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientHandlerModule.java:
##########
@@ -195,12 +191,16 @@ private ChannelFuture startEndpoint() throws
InterruptedException {
bootstrap.childHandler(new ChannelInitializer<>() {
@Override
protected void initChannel(Channel ch) {
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("New client connection [remoteAddress="
+ ch.remoteAddress() + ']');
+ }
+
if (configuration.idleTimeout() > 0) {
IdleStateHandler idleStateHandler = new
IdleStateHandler(
configuration.idleTimeout(), 0, 0,
TimeUnit.MILLISECONDS);
ch.pipeline().addLast(idleStateHandler);
- ch.pipeline().addLast(new IdleChannelHandler());
+ ch.pipeline().addLast(new
IdleChannelHandler(configuration.idleTimeout()));
Review Comment:
Was here a bug?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]