Commit dce3f4eb by huangfusuper

延长快照计算时间

parent 9831378b
...@@ -31,7 +31,7 @@ public class JobSnapshotThreadRunHelper extends BaseThreadRunHelper { ...@@ -31,7 +31,7 @@ public class JobSnapshotThreadRunHelper extends BaseThreadRunHelper {
private Long snapshootDate; private Long snapshootDate;
private final FlowStatusSnapshootMapper flowStatusSnapshootMapper; private final FlowStatusSnapshootMapper flowStatusSnapshootMapper;
private static final String LOCK_NAME = "JobSnapshotThreadRunHelper"; private static final String LOCK_NAME = "JobSnapshotThreadRunHelper";
private static final Long SELLP_TIME = 120000L; private static final Long SELLP_TIME = 300000L;
private final DataSource dataSource; private final DataSource dataSource;
private final FlowService flowService; private final FlowService flowService;
private final RunRecordingService runRecordingService; private final RunRecordingService runRecordingService;
...@@ -54,8 +54,8 @@ public class JobSnapshotThreadRunHelper extends BaseThreadRunHelper { ...@@ -54,8 +54,8 @@ public class JobSnapshotThreadRunHelper extends BaseThreadRunHelper {
@Override @Override
public Long start() { public Long start() {
log.info("---------com.byit.thread.helper.JobSnapshotThreadRunHelper.start-------"); log.debug("---------com.byit.thread.helper.JobSnapshotThreadRunHelper.start-------");
log.info("---------当前任务快照计算器启动-------"); log.debug("---------当前任务快照计算器启动-------");
//先查找待运行的工作流 也就是查找今天要运行的工作流,理论来说 //先查找待运行的工作流 也就是查找今天要运行的工作流,理论来说
//运行中的以及成功的失败的都会被加载进实例表,所以这里面遗留的都是今天未运行的工作流,查询今天晚上零点之前的数据 //运行中的以及成功的失败的都会被加载进实例表,所以这里面遗留的都是今天未运行的工作流,查询今天晚上零点之前的数据
//获取开始时间 //获取开始时间
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment