diff options
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r-- | src/mongo/db/ttl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index 6f1bf84b872..5c9c743b021 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -86,7 +86,7 @@ public: Client::initThread(name().c_str()); AuthorizationSession::get(cc())->grantInternalAuthorization(); - while (!inShutdown()) { + while (!globalInShutdownDeprecated()) { sleepsecs(ttlMonitorSleepSecs.load()); LOG(3) << "thread awake"; |