diff options
author | Andrew Shuvalov <andrew.shuvalov@mongodb.com> | 2021-09-14 17:07:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-28 21:25:35 +0000 |
commit | b6346313394e3189cb813f5edd65bf26c148cd94 (patch) | |
tree | 4a2c58fbcefbaa32c115becab6196fc547339ef9 /src/mongo/db/process_health/fault_manager.cpp | |
parent | 0659e55938207d5ce8ac6f6ae8a69e3263db82bf (diff) | |
download | mongo-b6346313394e3189cb813f5edd65bf26c148cd94.tar.gz |
SERVER-59912 changes in the base health package for the Ldap health observer
Diffstat (limited to 'src/mongo/db/process_health/fault_manager.cpp')
-rw-r--r-- | src/mongo/db/process_health/fault_manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/process_health/fault_manager.cpp b/src/mongo/db/process_health/fault_manager.cpp index d412a70f58c..6c3a14f7789 100644 --- a/src/mongo/db/process_health/fault_manager.cpp +++ b/src/mongo/db/process_health/fault_manager.cpp @@ -249,8 +249,7 @@ void FaultManager::_initHealthObserversIfNeeded() { } _initializedAllHealthObservers.store(true); - HealthObserverRegistration& registration = *HealthObserverRegistration::get(_svcCtx); - _observers = registration.instantiateAllObservers(); + _observers = HealthObserverRegistration::instantiateAllObservers(_svcCtx->getFastClockSource()); // Verify that all observer types are unique. std::set<FaultFacetType> allTypes; |