aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-26 22:27:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-26 22:27:15 +1300
commitccd4a65a4954bcd7d2c38b806440bb766c51b0e2 (patch)
tree4f0acc8410583dea3ca9c8cbb0b37a28bd2d547c /src/org/traccar/MainEventHandler.java
parent53bcb5c788e6b24bf8f6f631445b61a87c5f715f (diff)
downloadtrackermap-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.java2
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());
}
}