mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 06:31:50 +08:00
made it so a negative kHeartRate disables heartbeats and set
kHeartRate to -1.
This commit is contained in:
@@ -80,12 +80,10 @@ CClientProxy1_0::mainLoop()
|
||||
|
||||
// check if client has stopped sending heartbeats
|
||||
if (n == (UInt32)-1) {
|
||||
/* FIXME -- disabled to avoid masking bugs
|
||||
if (heartTimer.getTime() > kHeartDeath) {
|
||||
if (kHeartDeath >= 0.0 && heartTimer.getTime() > kHeartDeath) {
|
||||
log((CLOG_NOTE "client \"%s\" is dead", getName().c_str()));
|
||||
return;
|
||||
}
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user