Stats pages are now left behind unclean on purpose on updating/restarting the controller, to preserve stats across restarts
This commit is contained in:
parent
cdab043a4b
commit
26f4b2efd9
1 changed files with 4 additions and 1 deletions
|
@ -126,7 +126,10 @@ void Controller::SharedMemStats(void * config){
|
||||||
Util::wait(1000);
|
Util::wait(1000);
|
||||||
}
|
}
|
||||||
statPointer = 0;
|
statPointer = 0;
|
||||||
DEBUG_MSG(DLVL_HIGH, "Stopping stats thread");
|
HIGH_MSG("Stopping stats thread");
|
||||||
|
if (Controller::restarting){
|
||||||
|
statServer.abandon();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Updates the given active connection with new stats data.
|
/// Updates the given active connection with new stats data.
|
||||||
|
|
Loading…
Add table
Reference in a new issue