fix: 修复共享变量导致通知不能发送

This commit is contained in:
Captain.B 2021-01-08 18:04:35 +08:00
parent 3a26a9cfbc
commit f84d373020
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class PerformanceNoticeTask {
if (StringUtils.equalsAny(loadTestReportFromDatabase.getStatus(),
PerformanceTestStatus.Completed.name(), PerformanceTestStatus.Error.name())) {
sendNotice(loadTestReportFromDatabase);
isRunning = false;
return;
}
try {
//查询定时任务是否关闭