CalvinKirs commented on a change in pull request #4747:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/4747#discussion_r575783673
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java
##########
@@ -125,10 +125,6 @@ public void run() {
int fetchTaskNum = masterConfig.getMasterDispatchTaskNumber();
failedDispatchTasks.clear();
for (int i = 0; i < fetchTaskNum; i++) {
- if (taskPriorityQueue.size() <= 0) {
- Thread.sleep(Constants.SLEEP_TIME_MILLIS);
Review comment:
See for specific reasons #4140
----------------------------------------------------------------
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]