This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new f817af2bf6 add with childOption (#15628)
f817af2bf6 is described below

commit f817af2bf66b4c686d7f0bb7626898b5070756c3
Author: Songqiao Su <andysongq...@gmail.com>
AuthorDate: Thu Apr 24 01:31:16 2025 -0700

    add with childOption (#15628)
---
 .../src/main/java/org/apache/pinot/core/transport/QueryServer.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/transport/QueryServer.java 
b/pinot-core/src/main/java/org/apache/pinot/core/transport/QueryServer.java
index f7e51c2540..384f2d3133 100644
--- a/pinot-core/src/main/java/org/apache/pinot/core/transport/QueryServer.java
+++ b/pinot-core/src/main/java/org/apache/pinot/core/transport/QueryServer.java
@@ -131,8 +131,10 @@ public class QueryServer {
       
metrics.setOrUpdateGlobalGauge(ServerGauge.NETTY_POOLED_THREADLOCALCACHE, 
metric::numThreadLocalCaches);
       metrics.setOrUpdateGlobalGauge(ServerGauge.NETTY_POOLED_CHUNK_SIZE, 
metric::chunkSize);
       _channel = (ServerSocketChannel) serverBootstrap.group(_bossGroup, 
_workerGroup).channel(_channelClass)
-          .option(ChannelOption.SO_BACKLOG, 
128).childOption(ChannelOption.SO_KEEPALIVE, true)
+          .option(ChannelOption.SO_BACKLOG, 128)
+          .childOption(ChannelOption.SO_KEEPALIVE, true)
           .option(ChannelOption.ALLOCATOR, bufAllocatorWithLimits)
+          .childOption(ChannelOption.ALLOCATOR, bufAllocatorWithLimits)
           .childHandler(new ChannelInitializer<SocketChannel>() {
             @Override
             protected void initChannel(SocketChannel ch) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to