diff options
author | Andrew Shuvalov <andrew.shuvalov@mongodb.com> | 2021-11-03 19:18:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-03 20:21:00 +0000 |
commit | 45c2f1f18f5704872a65d395d8085fb9385d59d8 (patch) | |
tree | 53bad7125915584255bbd88b711b5f25ea3d2fce /src/mongo/db/process_health/health_observer_registration.h | |
parent | 582e4151293d773c2de9fde20cc4726f79829ec0 (diff) | |
download | mongo-45c2f1f18f5704872a65d395d8085fb9385d59d8.tar.gz |
SERVER-59366 Progress monitor for periodic health check
Diffstat (limited to 'src/mongo/db/process_health/health_observer_registration.h')
-rw-r--r-- | src/mongo/db/process_health/health_observer_registration.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/process_health/health_observer_registration.h b/src/mongo/db/process_health/health_observer_registration.h index b7c72bd2b7a..6606e13f05a 100644 --- a/src/mongo/db/process_health/health_observer_registration.h +++ b/src/mongo/db/process_health/health_observer_registration.h @@ -52,15 +52,14 @@ public: * @param factoryCallback creates observer instance when invoked. */ static void registerObserverFactory( - std::function<std::unique_ptr<HealthObserver>(ClockSource* clockSource, - TickSource* tickSource)> factoryCallback); + std::function<std::unique_ptr<HealthObserver>(ServiceContext* svcCtx)> factoryCallback); /** * Invokes all registered factories and returns new instances. * The ownership of all observers is transferred to the invoker. */ static std::vector<std::unique_ptr<HealthObserver>> instantiateAllObservers( - ClockSource* clockSource, TickSource* tickSource); + ServiceContext* svcCtx); /** * Test-only method to cleanup the list of registered factories. |