diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-22 14:22:01 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 14:22:01 +1200 |
commit | a6fa965fd1d7fc55c891f9bba4913fcfe68b086c (patch) | |
tree | f840a542096c653d7dafc6df37645893d423d9d1 /src/org/traccar/BasePipelineFactory.java | |
parent | 76639c6b2284a5dfc4b45c17e533788dd739bcf1 (diff) | |
parent | 36ad4ac525b8eb25ac1c2eed8c05d690754399c5 (diff) | |
download | trackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.tar.gz trackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.tar.bz2 trackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.zip |
Merge pull request #3540 from Abyss777/check_valid_optional
Make check for valid in MotionEventHandler optional
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index ac1d450c5..771ab8acb 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -153,7 +153,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { Context.getConfig().getBoolean("geolocation.processInvalidPositions")); } - motionHandler = new MotionHandler(Context.getConfig().getDouble("event.motion.speedThreshold", 0.01)); + motionHandler = new MotionHandler(Context.getTripsConfig().getSpeedThreshold()); if (Context.getConfig().hasKey("location.latitudeHemisphere") || Context.getConfig().hasKey("location.longitudeHemisphere")) { |