From b36e9dd1b4ecbe6be0d7e7f63a747b1538d96b62 Mon Sep 17 00:00:00 2001 From: Scott Schurr Date: Thu, 20 Sep 2018 18:04:46 -0700 Subject: [PATCH] Remove noisy log write from Stoppable.cpp --- src/ripple/core/impl/Stoppable.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ripple/core/impl/Stoppable.cpp b/src/ripple/core/impl/Stoppable.cpp index ecd55475ef..1f29b4592b 100644 --- a/src/ripple/core/impl/Stoppable.cpp +++ b/src/ripple/core/impl/Stoppable.cpp @@ -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( - 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)