Commit a1d13fbd75086cef927b3998939d8f0a5b2cdfce
1 parent
be9076ad
update...
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/data/gpsdata/arrival/GeoCacheData.java
| ... | ... | @@ -33,8 +33,8 @@ public class GeoCacheData { |
| 33 | 33 | |
| 34 | 34 | static Logger logger = LoggerFactory.getLogger(GeoCacheData.class); |
| 35 | 35 | |
| 36 | - //每辆车缓存最后1000条gps | |
| 37 | - private static final int CACHE_SIZE = 1000; | |
| 36 | + //每辆车缓存最后500条gps | |
| 37 | + private static final int CACHE_SIZE = 500; | |
| 38 | 38 | private static Map<String, CircleQueue<GpsEntity>> gpsCacheMap = new HashMap<>(); |
| 39 | 39 | |
| 40 | 40 | //线路路段走向 | ... | ... |