summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/mongos_main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_main.cpp b/src/mongo/s/mongos_main.cpp
index 9477303e6c9..7dd126bca28 100644
--- a/src/mongo/s/mongos_main.cpp
+++ b/src/mongo/s/mongos_main.cpp
@@ -394,6 +394,8 @@ void cleanupTask(const ShutdownTaskArgs& shutdownArgs) {
#ifndef MONGO_CONFIG_USE_RAW_LATCHES
LatchAnalyzer::get(serviceContext).dump();
#endif
+
+ OCSPManager::shutdown(serviceContext);
}
Status initializeSharding(OperationContext* opCtx) {
@@ -671,7 +673,7 @@ ExitCode runMongosServer(ServiceContext* serviceContext) {
}
#ifdef MONGO_CONFIG_SSL
- OCSPManager::get()->startThreadPool();
+ OCSPManager::start(serviceContext);
CertificateExpirationMonitor::get()->start(serviceContext);
#endif