mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-08 19:26:42 +00:00
@@ -484,7 +484,8 @@ private:
|
||||
{
|
||||
std::unique_lock<std::mutex> lck(throttleMutex_);
|
||||
if (!canAddWriteRequest()) {
|
||||
LOG(log_.trace()) << "Max outstanding requests reached. " << "Waiting for other requests to finish";
|
||||
LOG(log_.trace()) << "Max outstanding requests reached. "
|
||||
<< "Waiting for other requests to finish";
|
||||
throttleCv_.wait(lck, [this]() { return canAddWriteRequest(); });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user