diff options
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r-- | src/mongo/s/server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index faa5ccf183b..84f9a779fb0 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -104,6 +104,7 @@ #include "mongo/util/fast_clock_source_factory.h" #include "mongo/util/latch_analyzer.h" #include "mongo/util/log.h" +#include "mongo/util/net/ocsp/ocsp_manager.h" #include "mongo/util/net/socket_exception.h" #include "mongo/util/net/socket_utils.h" #include "mongo/util/net/ssl_manager.h" @@ -511,6 +512,8 @@ ExitCode runMongosServer(ServiceContext* serviceContext) { initWireSpec(); + OCSPManager::get()->startThreadPool(); + serviceContext->setServiceEntryPoint(std::make_unique<ServiceEntryPointMongos>(serviceContext)); auto tl = |