Browse Source

update worker group

pull/2/head
baoliang 6 years ago
parent
commit
69bb7c749e
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java

2
escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java

@ -111,7 +111,7 @@ public class FetchTaskThread implements Runnable{
taskWorkerGroupId = (taskWorkerGroupId <= 0 ? processWorkerGroupId : taskWorkerGroupId); taskWorkerGroupId = (taskWorkerGroupId <= 0 ? processWorkerGroupId : taskWorkerGroupId);
if(taskWorkerGroupId == 0){ if(taskWorkerGroupId <= 0){
return true; return true;
} }
WorkerGroup workerGroup = processDao.queryWorkerGroupById(taskInstance.getWorkerGroupId()); WorkerGroup workerGroup = processDao.queryWorkerGroupById(taskInstance.getWorkerGroupId());

Loading…
Cancel
Save