aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorsoshial <soshial@gmail.com>2021-09-12 09:31:38 +0200
committersoshial <soshial@gmail.com>2021-09-12 09:31:38 +0200
commit7a3b106dfc28a6254825b8d664db8181f4bd19f1 (patch)
tree3380489441a1d7bef077a2bd5a898ebde0ede168 /src/main/java/org/traccar/config
parentd9ad81991da306dcae35bb6b7ba7f90c6d6b8725 (diff)
downloadtrackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.tar.gz
trackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.tar.bz2
trackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.zip
improve naming and comments
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index c6a202d2f..a77204175 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -890,11 +890,12 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
- * If FALSE, then filter compares duplicates, distance or period only with the last received location.
- * Server expects all locations to come sequentially.
+ * If false, the server expects all locations to come sequentially (for each device). Filter checks for duplicates,
+ * distance, speed, or time period only against the location that was last received by server.
*
- * If TRUE, then filter compares duplicates, distance or period with Position's fixTime strictly before and after.
- * Server expects locations to come at random order, since tracking device might go offline.
+ * If true, the server expects locations to come at random order (since tracking device might go offline).
+ * Filter checks for duplicates, distance, speed, or time period against the preceding Position's.
+ * Important: setting to true can cause potential performance issues.
*/
public static final ConfigKey<Boolean> FILTER_RELATIVE = new ConfigKey<>(
"filter.relative",