Commit 87fcc403a086b69c3195e1aa68e94ec8b895b7f6
1 parent
cb3f9728
update...
Showing
2 changed files
with
3 additions
and
1 deletions
src/main/java/com/bsth/XDApplication.java
| ... | ... | @@ -84,6 +84,7 @@ public class XDApplication implements CommandLineRunner { |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | public void devInit(){ |
| 87 | + log.info("devInit..."); | |
| 87 | 88 | ScheduledExecutorService sexec = Application.mainServices; |
| 88 | 89 | //抓取GPS数据 |
| 89 | 90 | gpsDataLoader.setFlag(-1); |
| ... | ... | @@ -98,6 +99,7 @@ public class XDApplication implements CommandLineRunner { |
| 98 | 99 | } |
| 99 | 100 | |
| 100 | 101 | public void prodInit(){ |
| 102 | + log.info("prodInit..."); | |
| 101 | 103 | ScheduledExecutorService sexec = Application.mainServices; |
| 102 | 104 | //发车信息 |
| 103 | 105 | sexec.scheduleWithFixedDelay(fcxxUpdateThread, 60, 40, TimeUnit.SECONDS); | ... | ... |