MatrixHB commented on code in PR #4115:
URL: https://github.com/apache/rocketmq/pull/4115#discussion_r841765358


##########
tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:
##########
@@ -147,6 +157,9 @@ public void start() throws MQClientException {
 
                 mqClientInstance.start();
 
+                executors = new ThreadPoolExecutor(10, 20, 1000 * 30, 
TimeUnit.MILLISECONDS,
+                    new ArrayBlockingQueue<>(100), new 
ThreadFactoryImpl("MQAdminThread_"), new ThreadPoolExecutor.CallerRunsPolicy());

Review Comment:
   Good suggestion. Actually this thread pool is idle most of the time...



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