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(){
|
void Output::stats(){
|
||||||
if (!statsPage.getData()){
|
if (statsPage.getData()){
|
||||||
return;
|
|
||||||
}
|
|
||||||
unsigned long long int now = Util::epoch();
|
unsigned long long int now = Util::epoch();
|
||||||
if (now != lastStats){
|
if (now != lastStats){
|
||||||
lastStats = now;
|
lastStats = now;
|
||||||
|
@ -647,6 +645,7 @@ namespace Mist {
|
||||||
}
|
}
|
||||||
statsPage.keepAlive();
|
statsPage.keepAlive();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
int tNum = 0;
|
int tNum = 0;
|
||||||
if (!playerConn.getData()){
|
if (!playerConn.getData()){
|
||||||
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue