Commit 3f2010fd19d7d5e4fd194a569a2f31e070236f7b
1 parent
c5af1825
update
Showing
1 changed file
with
1 additions
and
3 deletions
src/main/java/com/bsth/data/arrival/ArrivalData_GPS.java
| 1 | package com.bsth.data.arrival; | 1 | package com.bsth.data.arrival; |
| 2 | 2 | ||
| 3 | -import com.bsth.Application; | ||
| 4 | import com.bsth.data.match.Arrival2Schedule; | 3 | import com.bsth.data.match.Arrival2Schedule; |
| 5 | import com.bsth.data.schedule.DayOfSchedule; | 4 | import com.bsth.data.schedule.DayOfSchedule; |
| 6 | import com.google.common.collect.ArrayListMultimap; | 5 | import com.google.common.collect.ArrayListMultimap; |
| @@ -12,7 +11,6 @@ import org.springframework.boot.CommandLineRunner; | @@ -12,7 +11,6 @@ import org.springframework.boot.CommandLineRunner; | ||
| 12 | import org.springframework.stereotype.Component; | 11 | import org.springframework.stereotype.Component; |
| 13 | 12 | ||
| 14 | import java.util.*; | 13 | import java.util.*; |
| 15 | -import java.util.concurrent.TimeUnit; | ||
| 16 | 14 | ||
| 17 | /** | 15 | /** |
| 18 | * | 16 | * |
| @@ -44,7 +42,7 @@ public class ArrivalData_GPS implements CommandLineRunner{ | @@ -44,7 +42,7 @@ public class ArrivalData_GPS implements CommandLineRunner{ | ||
| 44 | @Override | 42 | @Override |
| 45 | public void run(String... arg0) throws Exception { | 43 | public void run(String... arg0) throws Exception { |
| 46 | logger.info("ArrivalData_GPS,30,10"); | 44 | logger.info("ArrivalData_GPS,30,10"); |
| 47 | - Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 40, 10, TimeUnit.SECONDS); | 45 | + //Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 40, 10, TimeUnit.SECONDS); |
| 48 | } | 46 | } |
| 49 | 47 | ||
| 50 | @Component | 48 | @Component |