Commit 0a39f1a4 authored by Gabry.wu's avatar Gabry.wu Committed by Tboy
Browse files
parent 35675a69
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -186,6 +186,10 @@ public class FetchTaskThread implements Runnable{
                        continue;
                    }

                    if(!checkWorkerGroup(taskInstance, OSUtils.getHost())){
                        continue;
                    }

                    Tenant tenant = processDao.getTenantForProcess(taskInstance.getProcessInstance().getTenantId(),
                            taskInstance.getProcessDefine().getUserId());

@@ -203,11 +207,6 @@ public class FetchTaskThread implements Runnable{

                    logger.info("worker fetch taskId : {} from queue ", taskInstId);


                    if(!checkWorkerGroup(taskInstance, OSUtils.getHost())){
                        continue;
                    }

                    // local execute path
                    String execLocalPath = getExecLocalPath();