Commit 399ebcab authored by chenzhao's avatar chenzhao

本地避免生成冗余数据

parent 15f91b7b
......@@ -636,7 +636,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
}
@Scheduled(cron = "0 */5 * * * ?")
@Scheduled(cron = "${windSpeed.Scheduled.cron}")
private void schedTaskData() {
LambdaQueryWrapper<StationBasic> wrapper = new LambdaQueryWrapper<>();
......
......@@ -79,7 +79,8 @@ gl.avg.column=有功功率,日利用小时,瞬时风速
#ES 曲线图定时 0 57 23 * * ?
windSpeed.cron = 0 25 9 * * ?
#本地使用 0 0 5 29 2 ? ? 线上使用 0 */5 * * * ?
windSpeed.Scheduled.cron = 0 0 5 29 2 ?
spring.elasticsearch.rest.uris=http://39.98.224.23:9200
spring.elasticsearch.rest.connection-timeout=30000
......
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