aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-22 08:58:34 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-22 08:58:34 -0700
commitd24edbc439a96b38442be1fbbfaccf65f0dd1923 (patch)
tree48c76d259bceb4b575eec76e07e875a7804225c3 /src/main/java/org/traccar/MainEventHandler.java
parent6a608f109ab587803092374591d1ec22e8f40fb7 (diff)
downloadtrackermap-server-d24edbc439a96b38442be1fbbfaccf65f0dd1923.tar.gz
trackermap-server-d24edbc439a96b38442be1fbbfaccf65f0dd1923.tar.bz2
trackermap-server-d24edbc439a96b38442be1fbbfaccf65f0dd1923.zip
Fix accumulator update
Diffstat (limited to 'src/main/java/org/traccar/MainEventHandler.java')
-rw-r--r--src/main/java/org/traccar/MainEventHandler.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/MainEventHandler.java b/src/main/java/org/traccar/MainEventHandler.java
index 965421d2f..06791c540 100644
--- a/src/main/java/org/traccar/MainEventHandler.java
+++ b/src/main/java/org/traccar/MainEventHandler.java
@@ -89,8 +89,6 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter {
new Condition.Equals("id", "id")));
cacheManager.updatePosition(position);
- cacheManager.getObject(Device.class, position.getDeviceId()).setPositionId(position.getId());
-
connectionManager.updatePosition(position);
}
} catch (StorageException error) {