diff options
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r-- | src/mongo/db/mongod_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp index 959f1e6e86e..8511c4b1a89 100644 --- a/src/mongo/db/mongod_main.cpp +++ b/src/mongo/db/mongod_main.cpp @@ -1083,7 +1083,7 @@ void shutdownTask(const ShutdownTaskArgs& shutdownArgs) { } if (auto replCoord = repl::ReplicationCoordinator::get(serviceContext); - replCoord && replCoord->enterQuiesceModeIfSecondary()) { + replCoord && replCoord->enterQuiesceModeIfSecondary(shutdownTimeout)) { ServiceContext::UniqueOperationContext uniqueOpCtx; OperationContext* opCtx = client->getOperationContext(); if (!opCtx) { |