diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2019-05-01 12:34:12 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-05-02 10:43:18 -0400 |
commit | e3d7e744ddb1ea3f72ea14efa9ab8769e463024f (patch) | |
tree | e474be2379888e74078242812fff25a911ebaa8b | |
parent | ec82b0d951ec524e1fee8e55088088fcbd29b804 (diff) | |
download | mongo-e3d7e744ddb1ea3f72ea14efa9ab8769e463024f.tar.gz |
SERVER-40932 Increase ServiceExecutor shutdown timeout
(cherry picked from commit 624a6ceb5e0a43e5e86d6089bf4f9ebf7336e2b9)
-rw-r--r-- | src/mongo/db/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index 61ea171ba04..9470702e4af 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -976,7 +976,7 @@ void shutdownTask(const ShutdownTaskArgs& shutdownArgs) { // Shutdown and wait for the service executor to exit if (auto svcExec = serviceContext->getServiceExecutor()) { - Status status = svcExec->shutdown(Seconds(5)); + Status status = svcExec->shutdown(Seconds(10)); if (!status.isOK()) { log(LogComponent::kNetwork) << "Service executor failed to shutdown within timelimit: " << status.reason(); |