diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-11-29 22:54:57 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-29 23:51:17 +0000 |
commit | bdd6f97927ef265a26763f5986d185c75862650c (patch) | |
tree | 7d3adabe8d4bd5d853e40a02721f350212e0c990 /src/mongo/transport/service_entry_point_impl.cpp | |
parent | 445e80440cff2475c51cde86efacc4d0dcd99676 (diff) | |
download | mongo-bdd6f97927ef265a26763f5986d185c75862650c.tar.gz |
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.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp index 0d98e57d7c9..aa04ce209b5 100644 --- a/src/mongo/transport/service_entry_point_impl.cpp +++ b/src/mongo/transport/service_entry_point_impl.cpp @@ -56,7 +56,6 @@ #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" @@ -447,7 +446,7 @@ void ServiceEntryPointImpl::appendStats(BSONObjBuilder* bob) const { invariant(_svcCtx); appendInt("active", _svcCtx->getActiveClientOperations()); - const auto seStats = transport::ServiceExecutorStats::get(_svcCtx); + const auto seStats = transport::getServiceExecutorStats(_svcCtx); appendInt("threaded", seStats.usesDedicated); if (!serverGlobalParams.maxConnsOverride.empty()) appendInt("limitExempt", seStats.limitExempt); |