mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Performance test
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -203,7 +203,7 @@ Logs::write(
|
||||
|
||||
// Add to batch buffer for file output
|
||||
{
|
||||
std::lock_guard lock(batchMutex_);
|
||||
// std::lock_guard lock(batchMutex_);
|
||||
|
||||
// Console output still immediate for responsiveness
|
||||
// if (!silent_)
|
||||
@@ -218,7 +218,7 @@ Logs::write(
|
||||
}
|
||||
|
||||
// Copy log into write buffer
|
||||
// std::copy(result.begin(), result.end(), writeBuffer_.begin());
|
||||
std::copy(result.begin(), result.end(), writeBuffer_.begin());
|
||||
writeBuffer_[result.size()] = '\n';
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user