zhangyue19921010 commented on a change in pull request #10555:
URL: https://github.com/apache/druid/pull/10555#discussion_r528448219



##########
File path: 
core/src/main/java/org/apache/druid/java/util/common/concurrent/ScheduledExecutors.java
##########
@@ -53,7 +53,11 @@ public static void scheduleWithFixedDelay(
           public Signal call()
           {
             runnable.run(); // (Exceptions are handled for us)
-            return Signal.REPEAT;
+            if (exec.isShutdown()) {
+              return Signal.STOP;

Review comment:
       @himanshug Thanks for your review. I have changed the log level to WARN.




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

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