Browse Source

Merge remote-tracking branch 'upstream/dev' into dev

pull/1/MERGE
gongzijian 6 years ago
parent
commit
d037ca49da
  1. 5
      .gitignore
  2. 1
      escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java
  3. 2
      escheduler-server/src/main/resources/worker.properties
  4. 4
      escheduler-ui/.env

5
.gitignore vendored

@ -7,6 +7,11 @@
.idea
.idea/
.idea/*
.target
.target/
target/*
*/target
*/target/*
.settings
.nbproject
.classpath

1
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;

2
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

4
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

Loading…
Cancel
Save