summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_entry_point_impl.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2023-01-24 16:48:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-24 18:11:08 +0000
commit73288a29338cee5bce896493a440ab968a9c6fb9 (patch)
tree02d6de57fa54178a34b984bbd41c00bcaf27ee6d /src/mongo/transport/service_entry_point_impl.cpp
parent4236509f43781fc4cee0712bc491fd1e9440707c (diff)
downloadmongo-73288a29338cee5bce896493a440ab968a9c6fb9.tar.gz
Revert "SERVER-70151 no thread_locals in ServiceExecutorSynchronous"
Diffstat (limited to 'src/mongo/transport/service_entry_point_impl.cpp')
-rw-r--r--src/mongo/transport/service_entry_point_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp
index aa04ce209b5..0d98e57d7c9 100644
--- a/src/mongo/transport/service_entry_point_impl.cpp
+++ b/src/mongo/transport/service_entry_point_impl.cpp
@@ -56,6 +56,7 @@
#include "mongo/transport/service_executor.h"
#include "mongo/transport/service_executor_fixed.h"
#include "mongo/transport/service_executor_gen.h"
+#include "mongo/transport/service_executor_reserved.h"
#include "mongo/transport/service_executor_synchronous.h"
#include "mongo/transport/session.h"
#include "mongo/transport/session_workflow.h"
@@ -446,7 +447,7 @@ void ServiceEntryPointImpl::appendStats(BSONObjBuilder* bob) const {
invariant(_svcCtx);
appendInt("active", _svcCtx->getActiveClientOperations());
- const auto seStats = transport::getServiceExecutorStats(_svcCtx);
+ const auto seStats = transport::ServiceExecutorStats::get(_svcCtx);
appendInt("threaded", seStats.usesDedicated);
if (!serverGlobalParams.maxConnsOverride.empty())
appendInt("limitExempt", seStats.limitExempt);