optimized time fetch during flush

This commit is contained in:
Jeff Hill
2003-04-07 16:06:17 +00:00
parent 9519c2646a
commit 12efe1ec2b
8 changed files with 24 additions and 20 deletions
+2 -2
View File
@@ -116,14 +116,14 @@ void tcpRecvWatchdog::messageArrivalNotify ( const epicsTime & currentTime )
// The send watchdog will be responsible for detecting
// dead connections in this case.
//
void tcpRecvWatchdog::sendBacklogProgressNotify ()
void tcpRecvWatchdog::sendBacklogProgressNotify ( const epicsTime & currentTime )
{
// We dont set "beaconAnomaly" to be false here because, after we see a
// beacon anomaly (which could be transiently detecting a reboot) we will
// not trust the beacon as an indicator of a healthy server until we
// receive at least one message from the server.
this->responsePending = false;
this->timer.start ( *this, this->period );
this->timer.start ( *this, currentTime + this->period );
debugPrintf ( ("saw heavy send backlog - reseting TCP recv watchdog\n") );
}