mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove noisy log write from Stoppable.cpp
This commit is contained in:
committed by
Nik Bougalis
parent
582d1691a9
commit
b36e9dd1b4
@@ -103,20 +103,7 @@ void Stoppable::startRecursive ()
|
||||
|
||||
void Stoppable::stopAsyncRecursive (beast::Journal j)
|
||||
{
|
||||
using namespace std::chrono;
|
||||
auto const start = high_resolution_clock::now();
|
||||
onStop ();
|
||||
auto const ms = duration_cast<milliseconds>(
|
||||
high_resolution_clock::now() - start);
|
||||
|
||||
#ifdef NDEBUG
|
||||
using namespace std::chrono_literals;
|
||||
if (ms >= 10ms)
|
||||
if (auto stream = j.fatal())
|
||||
stream << m_name << "::onStop took " << ms.count() << "ms";
|
||||
#else
|
||||
(void)ms;
|
||||
#endif
|
||||
|
||||
for (Children::const_iterator iter (m_children.cbegin ());
|
||||
iter != m_children.cend(); ++iter)
|
||||
|
||||
Reference in New Issue
Block a user