morrySnow commented on code in PR #27685:
URL: https://github.com/apache/doris/pull/27685#discussion_r1407530140


##########
fe/fe-core/src/main/java/org/apache/doris/statistics/AnalysisTaskExecutor.java:
##########
@@ -47,7 +47,7 @@ public AnalysisTaskExecutor(int simultaneouslyRunningTaskNum) 
{
             executors = ThreadPoolManager.newDaemonThreadPool(
                     simultaneouslyRunningTaskNum,
                     simultaneouslyRunningTaskNum, 0,
-                    TimeUnit.DAYS, new LinkedBlockingQueue<>(),
+                    TimeUnit.DAYS, new 
LinkedBlockingQueue<>(StatisticConstants.TASK_QUEUE_CAP),

Review Comment:
   both auto analyze and manual analyze use `AnalysisTaskExecutor`. if u just 
change this capacity, what will happen when do manual analyze more than task 
queue cap?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to