Browse Source

fix bug: unit calculate error

pull/2/head
baoliang 6 years ago
parent
commit
a40fcc0efa
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/master/runner/MasterExecThread.java

2
escheduler-server/src/main/java/cn/escheduler/server/master/runner/MasterExecThread.java

@ -869,7 +869,7 @@ public class MasterExecThread implements Runnable {
}
Date now = new Date();
long runningTime = DateUtils.differMs(now, processInstance.getStartTime());
long runningTime = DateUtils.diffMin(now, processInstance.getStartTime());
if(runningTime > processInstance.getTimeout()){
return true;

Loading…
Cancel
Save