clay4444 commented on issue #1477: [BUG] some tasks would be running all the 
time when db delayed.
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/1477#issuecomment-565503507
 
 
   Code format display is always problematic, so I put the code snippet here
   
   `public TaskInstance submitTaskInstanceToMysql(TaskInstance taskInstance, 
ProcessInstance processInstance){
       ....
       saveTaskInstance(taskInstance);
       return taskInstance;
   }`
   
   `public TaskInstance submitTask(TaskInstance taskInstance, ProcessInstance 
processInstance){
         ....... 
          submitTaskToQueue(task); // >>>> 提交到zk队列
       return task; 
   }`
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to