aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-27 10:15:01 +1300
committerGitHub <noreply@github.com>2016-09-27 10:15:01 +1300
commit18499577b16a198762609075ff1846f354d3d712 (patch)
tree0d33302e1193724405099e1108ba04cad552a95e /src/org/traccar/MainEventHandler.java
parentaaec58aec04256845dc37afd713b488071b1406b (diff)
parentccd4a65a4954bcd7d2c38b806440bb766c51b0e2 (diff)
downloadtrackermap-server-18499577b16a198762609075ff1846f354d3d712.tar.gz
trackermap-server-18499577b16a198762609075ff1846f354d3d712.tar.bz2
trackermap-server-18499577b16a198762609075ff1846f354d3d712.zip
Merge pull request #2367 from tananaev/implement_statistics
Implement server statistics collection
Diffstat (limited to 'src/org/traccar/MainEventHandler.java')
-rw-r--r--src/org/traccar/MainEventHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java
index 3f7e68b2a..9f172c584 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/org/traccar/MainEventHandler.java
@@ -62,6 +62,7 @@ public class MainEventHandler extends IdleStateAwareChannelHandler {
}
Log.info(s.toString());
+ Context.getStatisticsManager().registerMessageStored(position.getDeviceId());
}
}