summaryrefslogtreecommitdiff
path: root/src/mongo/s/mongos_main.cpp
diff options
context:
space:
mode:
authorDaniel Vitor Morilha <daniel.morilha@mongodb.com>2022-01-27 19:48:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-28 16:19:37 +0000
commitdb799be5aebf432380cb5f7acb0f204fbc120a13 (patch)
tree311ede09cd33d53cb504942d783b7d8ddc68a3f0 /src/mongo/s/mongos_main.cpp
parentfa5e93cc4211bf8489a1795a735351fb3c28a369 (diff)
downloadmongo-db799be5aebf432380cb5f7acb0f204fbc120a13.tar.gz
Revert "SERVER-62402 Ignore timeouts when running `ServiceEntryPointImpl::shutdown` under sanitizers"
This reverts commit a35742f044e3239d88c3fdd23fbe844881db2546.
Diffstat (limited to 'src/mongo/s/mongos_main.cpp')
-rw-r--r--src/mongo/s/mongos_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_main.cpp b/src/mongo/s/mongos_main.cpp
index e9bb0944dfa..9fc9eb9b092 100644
--- a/src/mongo/s/mongos_main.cpp
+++ b/src/mongo/s/mongos_main.cpp
@@ -347,7 +347,7 @@ void cleanupTask(const ShutdownTaskArgs& shutdownArgs) {
// Shutdown the Service Entry Point and its sessions and give it a grace period to complete.
if (auto sep = serviceContext->getServiceEntryPoint()) {
- if (!sep->shutdown(Seconds(30))) {
+ if (!sep->shutdown(Seconds(10))) {
LOGV2_OPTIONS(22844,
{LogComponent::kNetwork},
"Service entry point did not shutdown within the time limit");