aloyszhang commented on code in PR #11159:
URL: https://github.com/apache/inlong/pull/11159#discussion_r1767909798


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/cluster/InlongClusterServiceImpl.java:
##########
@@ -126,6 +135,15 @@ public class InlongClusterServiceImpl implements 
InlongClusterService {
 
     private static final Logger LOGGER = 
LoggerFactory.getLogger(InlongClusterServiceImpl.class);
     private static final Gson GSON = new Gson();
+    private final ExecutorService executorService = new ThreadPoolExecutor(
+            5,
+            10,
+            10L,
+            TimeUnit.SECONDS,
+            new ArrayBlockingQueue<>(100),
+            new 
ThreadFactoryBuilder().setNameFormat("async-install-%s").build(),
+            new CallerRunsPolicy());
+    private final LinkedBlockingQueue<ClusterNodeRequest> installQueue = new 
LinkedBlockingQueue<>();

Review Comment:
   ```suggestion
       private final LinkedBlockingQueue<ClusterNodeRequest> 
pendingInstallRequests = new LinkedBlockingQueue<>();
   ```



-- 
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: commits-unsubscr...@inlong.apache.org

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

Reply via email to