XiaoyiPeng commented on a change in pull request #3784:
URL: https://github.com/apache/rocketmq/pull/3784#discussion_r789733049



##########
File path: 
remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java
##########
@@ -111,14 +108,21 @@ public NettyRemotingClient(final NettyClientConfig 
nettyClientConfig,
             publicThreadNums = 4;
         }
 
-        this.publicExecutor = Executors.newFixedThreadPool(publicThreadNums, 
new ThreadFactory() {
-            private AtomicInteger threadIndex = new AtomicInteger(0);
+        this.publicThreadPoolQueue = new LinkedBlockingQueue<Runnable>(50000);

Review comment:
       I don't think that's the problem here,  `publicExecutor` handles 
requests from the server (eg: `CHECK_TRANSACTION_STATE` or 
`RESET_CONSUMER_CLIENT_OFFSET` etc) instead of client send requests.




-- 
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]


Reply via email to