sincere2018 commented on issue #5218:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/5218#issuecomment-814534198


   So I think it should be rewritten this way.
   /*
   * taskPriority
   */
   TaskPriority taskPriority = 
buildTaskPriority(processInstance.getProcessInstancePriority().getCode(),
   processInstance.getId(),
   taskInstance.getTaskInstancePriority().getCode(), // modify here
   taskInstance.getId(),
   org.apache.dolphinscheduler.common.Constants.DEFAULT_WORKER_GROUP);


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


Reply via email to