xichen01 commented on code in PR #9595:
URL: https://github.com/apache/ozone/pull/9595#discussion_r2685085830


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BackgroundService.java:
##########
@@ -40,8 +41,9 @@ public abstract class BackgroundService {
   protected static final Logger LOG =
       LoggerFactory.getLogger(BackgroundService.class);
 
-  // Executor to launch child tasks
-  private ScheduledThreadPoolExecutor exec;
+  private ThreadPoolExecutor exec;

Review Comment:
   `exec` is only responsible for executing tasks, so `ThreadPoolExecutor` is 
currently more suitable.



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