Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/mongo/transport/transport_layer_asio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,13 @@ void TransportLayerASIO::TimerService::start() {
auto precondition = State::kInitialized;
if (_state.compareAndSwap(&precondition, State::kStarted)) {
_thread = _spawn([reactor = _reactor] {
LOGV2_INFO(5490002, "Started a new thread for the timer service");
if (!serverGlobalParams.quiet.load()) {
LOGV2_INFO(5490002, "Started a new thread for the timer service");
}
reactor->run();
LOGV2_INFO(5490003, "Returning from the timer service thread");
if (!serverGlobalParams.quiet.load()) {
LOGV2_INFO(5490003, "Returning from the timer service thread");
}
});
}
}
Expand Down