Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit afecb28a
authored
Aug 18, 2021
by
xueli.xue
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://github.com/xuxueli/xxl-job
into master
2 parents
43de0dab
850c689d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 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/JobFailMonitorHelper.java
View file @
afecb28
...
@@ -60,7 +60,7 @@ public class JobFailMonitorHelper {
...
@@ -60,7 +60,7 @@ public class JobFailMonitorHelper {
// 2、fail alarm monitor
// 2、fail alarm monitor
int
newAlarmStatus
=
0
;
// 告警状态:0-默认、-1=锁定状态、1-无需告警、2-告警成功、3-告警失败
int
newAlarmStatus
=
0
;
// 告警状态:0-默认、-1=锁定状态、1-无需告警、2-告警成功、3-告警失败
if
(
info
!=
null
&&
info
.
getAlarmEmail
()!=
null
&&
info
.
getAlarmEmail
().
trim
().
length
()>
0
)
{
if
(
info
!=
null
)
{
boolean
alarmResult
=
XxlJobAdminConfig
.
getAdminConfig
().
getJobAlarmer
().
alarm
(
info
,
log
);
boolean
alarmResult
=
XxlJobAdminConfig
.
getAdminConfig
().
getJobAlarmer
().
alarm
(
info
,
log
);
newAlarmStatus
=
alarmResult
?
2
:
3
;
newAlarmStatus
=
alarmResult
?
2
:
3
;
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment