diff --git a/.gitignore b/.gitignore index 284a33d8fa..45e306b205 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,11 @@ .idea .idea/ .idea/* +.target +.target/ +target/* +*/target +*/target/* .settings .nbproject .classpath diff --git a/escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java b/escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java index c6164c4523..38dce40f81 100644 --- a/escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java +++ b/escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java @@ -606,6 +606,7 @@ public class ProcessDao extends AbstractBaseDao { updateTaskInstance(taskInstance); } processInstance.setStartTime(new Date()); + processInstance.setEndTime(null); processInstance.setRunTimes(runTime +1); initComplementDataParam(processDefinition, processInstance, cmdParam); break; diff --git a/escheduler-server/src/main/resources/worker.properties b/escheduler-server/src/main/resources/worker.properties index d1e1dca98a..e3472cd335 100644 --- a/escheduler-server/src/main/resources/worker.properties +++ b/escheduler-server/src/main/resources/worker.properties @@ -5,7 +5,7 @@ worker.exec.threads=100 worker.heartbeat.interval=10 # submit the number of tasks at a time -worker.fetch.task.num = 10 +worker.fetch.task.num = 3 # only less than cpu avg load, worker server can work. default value : the number of cpu cores * 2 diff --git a/escheduler-ui/.env b/escheduler-ui/.env index 752791a092..d4dcd9f473 100644 --- a/escheduler-ui/.env +++ b/escheduler-ui/.env @@ -1,8 +1,6 @@ # 后端接口地址 -#API_BASE = http://192.168.220.154:12345 - -API_BASE = http://192.168.221.188:12345 +API_BASE = http://192.168.220.154:12345 # 本地开发如需ip访问项目把"#"号去掉 #DEV_HOST = 192.168.xx.xx