aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-23 16:17:34 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-23 16:17:34 -0700
commite9a93ff35c1f923245ffdde78e4023b434173d64 (patch)
tree449c2e654d319ccd48ed51806659f3ac18722e28 /src/main/java/org/traccar/config
parente94e7f55aae161cf2fd30bbb2ca217f23627b074 (diff)
downloadtrackermap-server-e9a93ff35c1f923245ffdde78e4023b434173d64.tar.gz
trackermap-server-e9a93ff35c1f923245ffdde78e4023b434173d64.tar.bz2
trackermap-server-e9a93ff35c1f923245ffdde78e4023b434173d64.zip
Fast summary report
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 4ebdd49f1..8246fdeac 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1171,6 +1171,15 @@ public final class Keys {
List.of(KeyType.CONFIG));
/**
+ * Time threshold for fast reports. Fast reports are more efficient, but less accurate and missing some information.
+ * The value is in seconds. One day by default.
+ */
+ public static final ConfigKey<Long> REPORT_FAST_THRESHOLD = new LongConfigKey(
+ "report.fastThreshold",
+ List.of(KeyType.CONFIG),
+ 86400L);
+
+ /**
* Trips less than minimal duration and minimal distance are ignored. 300 seconds and 500 meters are default.
*/
public static final ConfigKey<Long> REPORT_TRIP_MINIMAL_TRIP_DISTANCE = new LongConfigKey(