From 230772f1252cc2624889355cadf99f77f7ecabf7 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 13 Apr 2016 15:20:23 +0200 Subject: [PATCH] fillActive now 15 seconds delayed as opposed to 2 seconds delayed, for more accurate viewer counts. --- src/controller/controller_statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controller_statistics.cpp b/src/controller/controller_statistics.cpp index 03a6d05f..3772242d 100644 --- a/src/controller/controller_statistics.cpp +++ b/src/controller/controller_statistics.cpp @@ -638,7 +638,7 @@ void Controller::fillActive(JSON::Value & req, JSON::Value & rep, bool onlyNow){ //collect the data first std::set streams; std::map clients; - unsigned int t = Util::epoch() - 2; + unsigned int t = Util::epoch() - 15; //check all sessions if (sessions.size()){ for (std::map::iterator it = sessions.begin(); it != sessions.end(); it++){