aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 6eb61607e..a03e47022 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -306,14 +306,16 @@ public final class Keys {
*/
public static final ConfigKey<Double> EVENT_FUEL_DROP_THRESHOLD = new DoubleConfigKey(
"fuelDropThreshold",
- List.of(KeyType.SERVER, KeyType.DEVICE));
+ List.of(KeyType.SERVER, KeyType.DEVICE),
+ 0.0);
/**
* Speed limit value in knots.
*/
public static final ConfigKey<Double> EVENT_OVERSPEED_LIMIT = new DoubleConfigKey(
"speedLimit",
- List.of(KeyType.SERVER, KeyType.DEVICE));
+ List.of(KeyType.SERVER, KeyType.DEVICE),
+ 0.0);
/**
* If true, the event is generated once at the beginning of overspeeding period.