Commit 6a54c9075296eb1ea95dca38628cdc68acfc1553
1 parent
c3898a2d
update
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/data/gpsdata/GpsRealData.java
| @@ -56,9 +56,9 @@ public class GpsRealData implements CommandLineRunner { | @@ -56,9 +56,9 @@ public class GpsRealData implements CommandLineRunner { | ||
| 56 | public void run(String... arg0) throws Exception { | 56 | public void run(String... arg0) throws Exception { |
| 57 | logger.info("gpsDataLoader,20,5"); | 57 | logger.info("gpsDataLoader,20,5"); |
| 58 | //定时从网关获取GPS数据 | 58 | //定时从网关获取GPS数据 |
| 59 | - //Application.mainServices.scheduleWithFixedDelay(gpsDataLoader, 20, 15, TimeUnit.SECONDS); | 59 | + //Application.mainServices.scheduleWithFixedDelay(gpsDataLoader, 20, 5, TimeUnit.SECONDS); |
| 60 | //定时扫描掉离线 | 60 | //定时扫描掉离线 |
| 61 | - //Application.mainServices.scheduleWithFixedDelay(offlineMonitorThread, 60, 20, TimeUnit.SECONDS); | 61 | + //Application.mainServices.scheduleWithFixedDelay(offlineMonitorThread, 120, 60, TimeUnit.SECONDS); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | 64 |