标准预警推送 新增20s沉睡 避免 频繁死锁
This commit is contained in:
@@ -133,6 +133,13 @@ public class ScheduledJob {
|
||||
logger.info("========================================================================================================");
|
||||
//删除不在预警范围的标准
|
||||
int remove = sarStandardWarningDao.autoCancelWarning();
|
||||
log.info("开始修整"+new Date()+"!");
|
||||
try {
|
||||
Thread.sleep(20000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
log.info("结束修整"+new Date()+"!");
|
||||
logger.info("取消" + remove + "条预警");
|
||||
|
||||
//预警期限(当前日期至3个月后)
|
||||
|
||||
Reference in New Issue
Block a user