TeslaCN commented on code in PR #2123:
URL: 
https://github.com/apache/shardingsphere-elasticjob/pull/2123#discussion_r961246740


##########
elasticjob-lite/elasticjob-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/internal/listener/ListenerNotifierManager.java:
##########
@@ -63,7 +63,8 @@ public void registerJobNotifyExecutor(final String jobName) {
             synchronized (this) {
                 if (!listenerNotifyExecutors.containsKey(jobName)) {
                     ThreadFactory threadFactory = 
ThreadUtils.newGenericThreadFactory("ListenerNotify-" + jobName);
-                    ExecutorService notifyExecutor = 
Executors.newSingleThreadExecutor(threadFactory);
+                    // Use unbounded thread pool to cover all the listeners to 
execute event, avoid zk watch loss.

Review Comment:
   The comment could be removed.



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