diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-14 17:00:57 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-14 17:00:57 -0700 |
commit | 0bd4c493e9003449457e87ebad6c7016ded71c8d (patch) | |
tree | 4beefd16bdc7665154d73fc07967ac45b1a06a49 /src/main/java/org/traccar/config/Keys.java | |
parent | 34fefbffa49925a5d337ff388fb9db400d707f8b (diff) | |
download | trackermap-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/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 6f19ee863..2e1a14eaf 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1294,6 +1294,13 @@ public final class Keys { List.of(KeyType.CONFIG)); /** + * Reuse last geolocation result if network details have not changed. + */ + public static final ConfigKey<Boolean> GEOLOCATION_REUSE = new BooleanConfigKey( + "geolocation.reuse", + List.of(KeyType.CONFIG)); + + /** * Default MCC value to use if device doesn't report MCC. */ public static final ConfigKey<Integer> GEOLOCATION_MCC = new IntegerConfigKey( |