Searched refs:nextHeartbeatTime (Results 1 – 1 of 1) sorted by relevance
228 auto nextHeartbeatTime = std::chrono::steady_clock::now(); in RequestWorker() local231 const auto ok_to_proceed = [this, &nextHeartbeatTime]() { in RequestWorker()234 (current_timestamp > nextHeartbeatTime && !mActiveSessions.empty()); in RequestWorker()240 if (!mRequestWorkerCV.wait_until(lock, nextHeartbeatTime, ok_to_proceed)) { in RequestWorker()241 nextHeartbeatTime = std::chrono::steady_clock::now() + heartBeatPeriod; in RequestWorker()246 if (current_timestamp > nextHeartbeatTime) { in RequestWorker()247 nextHeartbeatTime = current_timestamp + 1s; in RequestWorker()