mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 16:56:45 +00:00
log when waiting
This commit is contained in:
@@ -20,7 +20,9 @@ maybeWaitAfterWrite(
|
||||
written = written + justWrote;
|
||||
if (written > 10000)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(info) << "Waiting on throttling...";
|
||||
timer.wait();
|
||||
BOOST_LOG_TRIVIAL(info) << "...done waiting";
|
||||
written = 0;
|
||||
}
|
||||
return written;
|
||||
|
||||
Reference in New Issue
Block a user