Commit ca42657d authored by gabi's avatar gabi

small improvment in async shutdown

parent 58688d7d
......@@ -142,7 +142,7 @@ inline void spdlog::sinks::async_sink::shutdown(const std::chrono::milliseconds&
auto until = log_clock::now() + timeout;
while (_q.size() > 0 && log_clock::now() < until)
{
std::this_thread::sleep_for(std::chrono::milliseconds(2));
std::this_thread::sleep_for(std::chrono::milliseconds(5));
}
}
_shutdown();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment