mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-17 02:05:52 +00:00
Add number of requests to log (#838)
This commit is contained in:
@@ -654,8 +654,10 @@ traverseOwnedNodes(
|
|||||||
}
|
}
|
||||||
auto end = std::chrono::system_clock::now();
|
auto end = std::chrono::system_clock::now();
|
||||||
|
|
||||||
LOG(gLog.debug()) << "Time loading owned directories: "
|
LOG(gLog.debug()) << fmt::format(
|
||||||
<< std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count() << " milliseconds";
|
"Time loading owned directories: {} milliseconds, entries size: {}",
|
||||||
|
std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count(),
|
||||||
|
keys.size());
|
||||||
|
|
||||||
auto [objects, timeDiff] = util::timed([&]() { return backend.fetchLedgerObjects(keys, sequence, yield); });
|
auto [objects, timeDiff] = util::timed([&]() { return backend.fetchLedgerObjects(keys, sequence, yield); });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user