Commit 757cb156b3fbc41fa9a079fe53b0d2c358e7ff5d
1 parent
4367edf1
关闭gpsclient蹭线程的行为
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/bsth/XDApplication.java
| @@ -156,7 +156,7 @@ public class XDApplication implements CommandLineRunner { | @@ -156,7 +156,7 @@ public class XDApplication implements CommandLineRunner { | ||
| 156 | log.info("prodInit..."); | 156 | log.info("prodInit..."); |
| 157 | ScheduledExecutorService sexec = Application.mainServices; | 157 | ScheduledExecutorService sexec = Application.mainServices; |
| 158 | //安全驾驶 | 158 | //安全驾驶 |
| 159 | - sexec.scheduleWithFixedDelay(safeDrivDataLoadThread, 180, 10, TimeUnit.SECONDS); | 159 | + //sexec.scheduleWithFixedDelay(safeDrivDataLoadThread, 180, 10, TimeUnit.SECONDS); |
| 160 | 160 | ||
| 161 | /** 线调业务 */ | 161 | /** 线调业务 */ |
| 162 | sexec.scheduleWithFixedDelay(scheduleRefreshThread, 10, 120, TimeUnit.SECONDS);//班次更新线程 | 162 | sexec.scheduleWithFixedDelay(scheduleRefreshThread, 10, 120, TimeUnit.SECONDS);//班次更新线程 |
src/main/java/com/bsth/data/schedule/thread/CalcOilThread.java
| @@ -64,7 +64,7 @@ public class CalcOilThread extends Thread{ | @@ -64,7 +64,7 @@ public class CalcOilThread extends Thread{ | ||
| 64 | //清除超速缓存数据 | 64 | //清除超速缓存数据 |
| 65 | OverspeedProcess.clear(); | 65 | OverspeedProcess.clear(); |
| 66 | 66 | ||
| 67 | - GpsDataLoaderThread.setFlag(0); | 67 | + //GpsDataLoaderThread.setFlag(0); |
| 68 | 68 | ||
| 69 | } | 69 | } |
| 70 | } | 70 | } |