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
ec06ae09
authored
Jan 09, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
底层Log调优,应用正常终止取消异常栈信息打印;
parent
a53e77b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobFailMonitorHelper.java
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobRegistryMonitorHelper.java
xxl-job-core/src/main/java/com/xxl/job/core/thread/TriggerCallbackThread.java
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobFailMonitorHelper.java
View file @
ec06ae09
...
@@ -93,7 +93,7 @@ public class JobFailMonitorHelper {
...
@@ -93,7 +93,7 @@ public class JobFailMonitorHelper {
}
}
}
}
logger
.
warn
(
">>>>>>>>>>> xxl-job, job fail monitor thread stop"
);
logger
.
info
(
">>>>>>>>>>> xxl-job, job fail monitor thread stop"
);
}
}
});
});
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobRegistryMonitorHelper.java
View file @
ec06ae09
...
@@ -86,7 +86,7 @@ public class JobRegistryMonitorHelper {
...
@@ -86,7 +86,7 @@ public class JobRegistryMonitorHelper {
}
}
}
}
}
}
logger
.
warn
(
">>>>>>>>>>> xxl-job, job registry monitor thread stop"
);
logger
.
info
(
">>>>>>>>>>> xxl-job, job registry monitor thread stop"
);
}
}
});
});
registryThread
.
setDaemon
(
true
);
registryThread
.
setDaemon
(
true
);
...
...
xxl-job-core/src/main/java/com/xxl/job/core/thread/TriggerCallbackThread.java
View file @
ec06ae09
...
@@ -110,12 +110,17 @@ public class TriggerCallbackThread {
...
@@ -110,12 +110,17 @@ public class TriggerCallbackThread {
try
{
try
{
retryFailCallbackFile
();
retryFailCallbackFile
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
if
(!
toStop
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
}
}
}
try
{
try
{
TimeUnit
.
SECONDS
.
sleep
(
RegistryConfig
.
BEAT_TIMEOUT
);
TimeUnit
.
SECONDS
.
sleep
(
RegistryConfig
.
BEAT_TIMEOUT
);
}
catch
(
InterruptedException
e
)
{
}
catch
(
InterruptedException
e
)
{
logger
.
warn
(
">>>>>>>>>>> xxl-job, executor retry callback thread interrupted, error msg:{}"
,
e
.
getMessage
());
if
(!
toStop
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
}
}
}
}
}
logger
.
info
(
">>>>>>>>>>> xxl-job, executor retry callback thread destory."
);
logger
.
info
(
">>>>>>>>>>> xxl-job, executor retry callback thread destory."
);
...
...
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