summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2020-01-08 16:23:22 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-04 23:24:42 +0000
commit6a79b0331f5c8d962315220ac4a051250925d1df (patch)
tree15ad746a5fa36cbb8be7df34471d452d43df96f7 /src/mongo/db/db.cpp
parentb3c4e02b7454a3b496e038332fb2dd18e905359d (diff)
downloadmongo-6a79b0331f5c8d962315220ac4a051250925d1df.tar.gz
SERVER-44905 Futurize the retrieval of OCSP Responses
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 97f2580e389..14bed1ae035 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -170,6 +170,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_utils.h"
#include "mongo/util/net/ssl_manager.h"
#include "mongo/util/ntservice.h"
@@ -314,6 +315,8 @@ ExitCode _initAndListen(int listenPort) {
VersionInfoInterface::instance().logTargetMinOS();
#endif
+ OCSPManager::get()->startThreadPool();
+
logProcessDetails();
serviceContext->setServiceEntryPoint(std::make_unique<ServiceEntryPointMongod>(serviceContext));