Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a73ecb63
authored
May 22, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update document
parent
b09520b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java
View file @
a73ecb63
...
@@ -44,6 +44,7 @@ public class JobScheduleHelper {
...
@@ -44,6 +44,7 @@ public class JobScheduleHelper {
logger
.
error
(
e
.
getMessage
(),
e
);
logger
.
error
(
e
.
getMessage
(),
e
);
}
}
}
}
logger
.
info
(
">>>>>>>>> init xxl-job admin scheduler running."
);
while
(!
toStop
)
{
while
(!
toStop
)
{
...
@@ -111,7 +112,7 @@ public class JobScheduleHelper {
...
@@ -111,7 +112,7 @@ public class JobScheduleHelper {
}
}
ringItemData
.
add
(
jobInfo
.
getId
());
ringItemData
.
add
(
jobInfo
.
getId
());
logger
.
info
(
">>>>>>>>>>> xxl-job, push time-ring : "
+
ringSecond
+
" = "
+
Arrays
.
asList
(
ringItemData
)
);
logger
.
debug
(
">>>>>>>>>>> xxl-job, push time-ring : "
+
ringSecond
+
" = "
+
Arrays
.
asList
(
ringItemData
)
);
}
}
// 3、更新trigger信息
// 3、更新trigger信息
...
@@ -190,7 +191,7 @@ public class JobScheduleHelper {
...
@@ -190,7 +191,7 @@ public class JobScheduleHelper {
lastSecond
=
nowSecond
;
lastSecond
=
nowSecond
;
logger
.
info
(
">>>>>>>>>>> xxl-job, time-ring beat : "
+
nowSecond
+
" = "
+
Arrays
.
asList
(
ringItemData
)
);
logger
.
debug
(
">>>>>>>>>>> xxl-job, time-ring beat : "
+
nowSecond
+
" = "
+
Arrays
.
asList
(
ringItemData
)
);
if
(
ringItemData
!=
null
&&
ringItemData
.
size
()>
0
)
{
if
(
ringItemData
!=
null
&&
ringItemData
.
size
()>
0
)
{
// do trigger
// do trigger
for
(
int
jobId:
ringItemData
)
{
for
(
int
jobId:
ringItemData
)
{
...
...
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