use of com.netflix.netty.common.CloseOnIdleStateHandler in project zuul by Netflix.
the class BaseZuulChannelInitializer method addTimeoutHandlers.
protected void addTimeoutHandlers(ChannelPipeline pipeline) {
pipeline.addLast(new IdleStateHandler(0, 0, idleTimeout, TimeUnit.MILLISECONDS));
pipeline.addLast(new CloseOnIdleStateHandler(registry, metricId));
}
Aggregations