xdkxlk commented on code in PR #6882:
URL: https://github.com/apache/rocketmq/pull/6882#discussion_r1223952454


##########
broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:
##########
@@ -161,15 +152,15 @@ public void start() {
                 }
             }
 
-            this.deliverExecutorService.scheduleAtFixedRate(() -> {
+            scheduledPersistService = new ScheduledThreadPoolExecutor(1,

Review Comment:
   Why do we need to change the code here? In my opinion, removing the 
scheduleAtFixedRate in the constructor is enough.



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

Reply via email to