Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
dce3f4eb
Commit
dce3f4eb
authored
May 21, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
延长快照计算时间
parent
9831378b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
JobSnapshotThreadRunHelper.java
...va/com/byit/thread/helper/JobSnapshotThreadRunHelper.java
+3
-3
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/thread/helper/JobSnapshotThreadRunHelper.java
View file @
dce3f4eb
...
@@ -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
=
12
0000L
;
private
static
final
Long
SELLP_TIME
=
30
0000L
;
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
(
"---------当前任务快照计算器启动-------"
);
//先查找待运行的工作流 也就是查找今天要运行的工作流,理论来说
//先查找待运行的工作流 也就是查找今天要运行的工作流,理论来说
//运行中的以及成功的失败的都会被加载进实例表,所以这里面遗留的都是今天未运行的工作流,查询今天晚上零点之前的数据
//运行中的以及成功的失败的都会被加载进实例表,所以这里面遗留的都是今天未运行的工作流,查询今天晚上零点之前的数据
//获取开始时间
//获取开始时间
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment