diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 13:52:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 13:52:08 -0700 |
commit | 8ed8f8051b735a6f7c9480601e27339dbe8dab01 (patch) | |
tree | f3b53efe1a06211521aa2f4a3b2c7d4ecd1bbb2b /src/main/java/org | |
parent | 4d59dd0973479bca3d51cf3bba6b0769a0d671c3 (diff) | |
download | trackermap-server-8ed8f8051b735a6f7c9480601e27339dbe8dab01.tar.gz trackermap-server-8ed8f8051b735a6f7c9480601e27339dbe8dab01.tar.bz2 trackermap-server-8ed8f8051b735a6f7c9480601e27339dbe8dab01.zip |
Fix config defaults
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 6 |
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. |