diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-07-18 09:26:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 09:26:27 -0700 |
commit | 509d26db7efafe965f5cc6e1a1fba6b30e9556cf (patch) | |
tree | a24039c2610bcb59f0af18b6e534787828185abd /src/main/java/org/traccar/database/ConnectionManager.java | |
parent | bba38f9078a1c1455730daf80d76587cf21228cc (diff) | |
parent | f4bef0008fc6b2562a29017e6eb4272734943311 (diff) | |
download | trackermap-server-509d26db7efafe965f5cc6e1a1fba6b30e9556cf.tar.gz trackermap-server-509d26db7efafe965f5cc6e1a1fba6b30e9556cf.tar.bz2 trackermap-server-509d26db7efafe965f5cc6e1a1fba6b30e9556cf.zip |
Merge pull request #4357 from edvalley/proposed2
Make optional server attributes lookup
Diffstat (limited to 'src/main/java/org/traccar/database/ConnectionManager.java')
-rw-r--r-- | src/main/java/org/traccar/database/ConnectionManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/ConnectionManager.java b/src/main/java/org/traccar/database/ConnectionManager.java index 8bae1ea93..dd0071143 100644 --- a/src/main/java/org/traccar/database/ConnectionManager.java +++ b/src/main/java/org/traccar/database/ConnectionManager.java @@ -157,7 +157,7 @@ public class ConnectionManager { event = Main.getInjector().getInstance(OverspeedEventHandler.class) .updateOverspeedState(deviceState, Context.getDeviceManager(). - lookupAttributeDouble(deviceId, OverspeedEventHandler.ATTRIBUTE_SPEED_LIMIT, 0, false)); + lookupAttributeDouble(deviceId, OverspeedEventHandler.ATTRIBUTE_SPEED_LIMIT, 0, true, false)); if (event != null) { result.putAll(event); } |