Made statistics and userpages independant of each other.
This commit is contained in:
parent
80b905965e
commit
1206b76b4a
1 changed files with 18 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue