diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-11 14:22:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 14:22:21 -0700 |
commit | 662b774234298c38a38c172d1dcb4668996045ac (patch) | |
tree | 7f46a605aabd630d3f07b7ec6f7d8713ed3be2ce /src/org/traccar/Context.java | |
parent | a97c12829e99b63f1951bffc658c37ec180e5379 (diff) | |
parent | 3639bc6d289fa137d5dc7aaa47b67cd6a6bcc47d (diff) | |
download | trackermap-server-662b774234298c38a38c172d1dcb4668996045ac.tar.gz trackermap-server-662b774234298c38a38c172d1dcb4668996045ac.tar.bz2 trackermap-server-662b774234298c38a38c172d1dcb4668996045ac.zip |
Merge pull request #3870 from Abyss777/geo_overspeed
Add basic support of overspeeding inside geofences.
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r-- | src/org/traccar/Context.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index ee14eb1f7..23d0a983e 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -464,7 +464,8 @@ public final class Context { motionEventHandler = new MotionEventHandler(tripsConfig); overspeedEventHandler = new OverspeedEventHandler( Context.getConfig().getLong("event.overspeed.minimalDuration") * 1000, - Context.getConfig().getBoolean("event.overspeed.notRepeat")); + Context.getConfig().getBoolean("event.overspeed.notRepeat"), + Context.getConfig().getBoolean("event.overspeed.preferLowest")); } public static void init(IdentityManager testIdentityManager) { |