yiguolei commented on code in PR #41754:
URL: https://github.com/apache/doris/pull/41754#discussion_r1799770766


##########
fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/tokens/FlightTokenManagerImpl.java:
##########
@@ -82,6 +88,8 @@ public FlightTokenDetails load(String key) {
                         return new FlightTokenDetails();
                     }
                 });
+        this.cleanupExecutor = Executors.newScheduledThreadPool(1, new 
CustomThreadFactory("flight-token-cleanup"));

Review Comment:
   我们为什么不是再register connection的时候检查一下链接是否满了,主动淘汰呢?



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

Reply via email to