aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-14 17:00:57 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-14 17:00:57 -0700
commit0bd4c493e9003449457e87ebad6c7016ded71c8d (patch)
tree4beefd16bdc7665154d73fc07967ac45b1a06a49 /src/main/java/org/traccar/MainModule.java
parent34fefbffa49925a5d337ff388fb9db400d707f8b (diff)
downloadtrackermap-server-0bd4c493e9003449457e87ebad6c7016ded71c8d.tar.gz
trackermap-server-0bd4c493e9003449457e87ebad6c7016ded71c8d.tar.bz2
trackermap-server-0bd4c493e9003449457e87ebad6c7016ded71c8d.zip
Add LBS location caching (fix #3790)
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index f60d41d62..b9543af25 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -256,9 +256,10 @@ public class MainModule extends AbstractModule {
@Provides
public static GeolocationHandler provideGeolocationHandler(
- Config config, @Nullable GeolocationProvider geolocationProvider, StatisticsManager statisticsManager) {
+ Config config, @Nullable GeolocationProvider geolocationProvider, CacheManager cacheManager,
+ StatisticsManager statisticsManager) {
if (geolocationProvider != null) {
- return new GeolocationHandler(config, geolocationProvider, statisticsManager);
+ return new GeolocationHandler(config, geolocationProvider, cacheManager, statisticsManager);
}
return null;
}