summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2019-05-01 12:34:12 -0400
committerJonathan Reams <jbreams@mongodb.com>2019-05-02 10:41:10 -0400
commit624a6ceb5e0a43e5e86d6089bf4f9ebf7336e2b9 (patch)
tree59d76bf4d88ccf7d049c63c9926beedcf93b2df7 /src/mongo/db/db.cpp
parent448ac59b481f0bd0579b4cf7886363161139dd26 (diff)
downloadmongo-624a6ceb5e0a43e5e86d6089bf4f9ebf7336e2b9.tar.gz
SERVER-40932 Increase ServiceExecutor shutdown timeout
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index f133ce85beb..da81a6d4a07 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -975,7 +975,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();