Skip to content

Commit

Permalink
Backout channelInactive
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarge committed Sep 26, 2024
1 parent 8208440 commit 415f7e3
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.emc.mongoose.base.item.op.Operation;
import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.logging.LogUtil;
import com.emc.mongoose.base.logging.Loggers;

import static com.emc.mongoose.base.Constants.KEY_CLASS_NAME;
import static com.emc.mongoose.base.Exceptions.throwUncheckedIfInterrupted;
Expand Down Expand Up @@ -89,11 +88,4 @@ public final void userEventTriggered(final ChannelHandlerContext ctx, final Obje
throw new SocketTimeoutException();
}
}

@Override
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
ctx.fireChannelInactive();
Loggers.ERR.debug("Detected inactive channel, closing");
ctx.channel().close();
}
}

0 comments on commit 415f7e3

Please sign in to comment.