Commit 0729c493 authored by caotao's avatar caotao

1.移除原来的定制执行改为消息驱动计算健康指数

parent 8de57b82
......@@ -1432,7 +1432,7 @@ public class CommonServiceImpl {
}
@Scheduled(cron = "0 0/10 * * * ?")
// @Scheduled(cron = "0 0/10 * * * ?")
@Async("async")
public void healthWarningMinuteByFan() {
if (!openHealth) {
......@@ -1677,9 +1677,9 @@ public class CommonServiceImpl {
// @Scheduled(cron = "0 0/10 * * * ?")
@Async("async")
public void healthWarningMinuteByPv() {
// if (!openHealth) {
// return;
// }
if (!openHealth) {
return;
}
Calendar calendar = Calendar.getInstance();
Date time = new Date();
List<IdxBizPvPointProcessVariableClassificationDto> data = idxBizPvPointProcessVariableClassificationMapper.getInfluxDBData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment