From 8ed8f8051b735a6f7c9480601e27339dbe8dab01 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 18 Jun 2022 13:52:08 -0700 Subject: Fix config defaults --- src/main/java/org/traccar/config/Keys.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/traccar') 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 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 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. -- cgit v1.2.3