diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-26 22:27:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-26 22:27:15 +1300 |
commit | ccd4a65a4954bcd7d2c38b806440bb766c51b0e2 (patch) | |
tree | 4f0acc8410583dea3ca9c8cbb0b37a28bd2d547c /src/org/traccar/MainEventHandler.java | |
parent | 53bcb5c788e6b24bf8f6f631445b61a87c5f715f (diff) | |
download | trackermap-server-ccd4a65a4954bcd7d2c38b806440bb766c51b0e2.tar.gz trackermap-server-ccd4a65a4954bcd7d2c38b806440bb766c51b0e2.tar.bz2 trackermap-server-ccd4a65a4954bcd7d2c38b806440bb766c51b0e2.zip |
Change statistics calculation logic
Diffstat (limited to 'src/org/traccar/MainEventHandler.java')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index 24aa50117..9f172c584 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -62,7 +62,7 @@ public class MainEventHandler extends IdleStateAwareChannelHandler { } Log.info(s.toString()); - Context.getStatisticsManager().registerMessageStored(); + Context.getStatisticsManager().registerMessageStored(position.getDeviceId()); } } |