Made statistics and userpages independant of each other.

This commit is contained in:
Thulinma 2014-06-20 11:05:04 +02:00
parent 80b905965e
commit 1206b76b4a

View file

@ -626,9 +626,7 @@ namespace Mist {
}
void Output::stats(){
if (!statsPage.getData()){
return;
}
if (statsPage.getData()){
unsigned long long int now = Util::epoch();
if (now != lastStats){
lastStats = now;
@ -647,6 +645,7 @@ namespace Mist {
}
statsPage.keepAlive();
}
}
int tNum = 0;
if (!playerConn.getData()){
playerConn = IPC::sharedClient(streamName + "_users", 30, true);