fillActive now 15 seconds delayed as opposed to 2 seconds delayed, for more accurate viewer counts.
This commit is contained in:
parent
4c2eeb96c8
commit
230772f125
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ void Controller::fillActive(JSON::Value & req, JSON::Value & rep, bool onlyNow){
|
||||||
//collect the data first
|
//collect the data first
|
||||||
std::set<std::string> streams;
|
std::set<std::string> streams;
|
||||||
std::map<std::string, unsigned long> clients;
|
std::map<std::string, unsigned long> clients;
|
||||||
unsigned int t = Util::epoch() - 2;
|
unsigned int t = Util::epoch() - 15;
|
||||||
//check all sessions
|
//check all sessions
|
||||||
if (sessions.size()){
|
if (sessions.size()){
|
||||||
for (std::map<sessIndex, statSession>::iterator it = sessions.begin(); it != sessions.end(); it++){
|
for (std::map<sessIndex, statSession>::iterator it = sessions.begin(); it != sessions.end(); it++){
|
||||||
|
|
Loading…
Add table
Reference in a new issue