Kikyou1997 commented on code in PR #27334: URL: https://github.com/apache/doris/pull/27334#discussion_r1400071807
########## fe/fe-core/src/main/java/org/apache/doris/statistics/AnalysisTaskExecutor.java: ########## @@ -50,19 +50,12 @@ public AnalysisTaskExecutor(int simultaneouslyRunningTaskNum) { TimeUnit.DAYS, new LinkedBlockingQueue<>(), new BlockedPolicy("Analysis Job Executor", Integer.MAX_VALUE), "Analysis Job Executor", true); + cancelExpiredTask(); Review Comment: It try to take elements from a blocking queue and then block until timeout, so won't cost too much CPU -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org