diff options
author | Spencer T Brody <spencer@mongodb.com> | 2014-05-13 15:11:58 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2014-05-14 11:21:30 -0400 |
commit | 06033e18fb1fe66d00f130227317d9ae531bb6f5 (patch) | |
tree | 88f002c6c098b2b17eebeba6802b3468cef51cc2 /src/mongo/db/auth | |
parent | b0c0f83c4ca843412c991db3b21262be8ea78970 (diff) | |
download | mongo-06033e18fb1fe66d00f130227317d9ae531bb6f5.tar.gz |
SERVER-13850 Make sure cache entry is up to date before using it to update a user
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r-- | src/mongo/db/auth/user_cache_invalidator_job.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/auth/user_cache_invalidator_job.cpp b/src/mongo/db/auth/user_cache_invalidator_job.cpp index 64201da2be3..5eeada66ea5 100644 --- a/src/mongo/db/auth/user_cache_invalidator_job.cpp +++ b/src/mongo/db/auth/user_cache_invalidator_job.cpp @@ -53,10 +53,6 @@ namespace { } // namespace void UserCacheInvalidator::run() { - if (!_authzManager->isAuthEnabled()) { - return; // Nothing to do - } - Client::initThread("UserCacheInvalidatorThread"); while (true) { sleepsecs(userCacheInvalidationIntervalSecs); |