fix: 修复共享变量导致通知不能发送
This commit is contained in:
parent
3a26a9cfbc
commit
f84d373020
|
@ -47,7 +47,7 @@ public class PerformanceNoticeTask {
|
||||||
if (StringUtils.equalsAny(loadTestReportFromDatabase.getStatus(),
|
if (StringUtils.equalsAny(loadTestReportFromDatabase.getStatus(),
|
||||||
PerformanceTestStatus.Completed.name(), PerformanceTestStatus.Error.name())) {
|
PerformanceTestStatus.Completed.name(), PerformanceTestStatus.Error.name())) {
|
||||||
sendNotice(loadTestReportFromDatabase);
|
sendNotice(loadTestReportFromDatabase);
|
||||||
isRunning = false;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
//查询定时任务是否关闭
|
//查询定时任务是否关闭
|
||||||
|
|
Loading…
Reference in New Issue