MrEasy commented on code in PR #4699:
URL: https://github.com/apache/activemq-artemis/pull/4699#discussion_r1411939816


##########
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ServerLocatorImpl.java:
##########
@@ -188,36 +189,49 @@ public static synchronized void clearThreadPools() {
       ActiveMQClient.clearThreadPools();
    }
 
-   private synchronized void setThreadPools() {
+
+   private synchronized void setThreadPools()
+   {
       if (threadPool != null) {
          return;
-      } else if (config.useGlobalPools) {
+      }
+      else if (config.useGlobalPools) {
          threadPool = ActiveMQClient.getGlobalThreadPool();
 
+         flowControlPool = ActiveMQClient.getFlowControlThreadPool(); //TODO  
add option for config

Review Comment:
   Any help/comment rg. this would be good - or deemed unneccessary?



-- 
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: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to