log when waiting

This commit is contained in:
ledhed2222
2023-03-21 23:32:45 -04:00
parent 65204ec647
commit 0a83c88215

View File

@@ -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;