JingsongLi commented on code in PR #4648:
URL: https://github.com/apache/paimon/pull/4648#discussion_r1875699096
##########
paimon-common/src/main/java/org/apache/paimon/utils/ThreadPoolUtils.java:
##########
@@ -76,6 +79,13 @@ public static ThreadPoolExecutor createCachedThreadPool(
return executor;
}
+ public static ScheduledExecutorService createScheduledThreadPool(
+ int threadNum, String namePrefix) {
+ return new ScheduledThreadPoolExecutor(
+ threadNum,
+ new
ThreadFactoryBuilder().setDaemon(true).setNameFormat(namePrefix).build());
Review Comment:
newDaemonThreadFactory?
--
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]