summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/health_observer_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/process_health/health_observer_base.h')
-rw-r--r--src/mongo/db/process_health/health_observer_base.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/process_health/health_observer_base.h b/src/mongo/db/process_health/health_observer_base.h
index 382f237c6fa..070e145d38a 100644
--- a/src/mongo/db/process_health/health_observer_base.h
+++ b/src/mongo/db/process_health/health_observer_base.h
@@ -87,8 +87,6 @@ protected:
virtual Future<HealthCheckStatus> periodicCheckImpl(
PeriodicHealthCheckContext&& periodicCheckContext) = 0;
- HealthObserverIntensity getIntensity() const override;
-
// Helper method to create a status without errors.
HealthCheckStatus makeHealthyStatus() const;
@@ -101,8 +99,7 @@ protected:
mutable Mutex _mutex =
MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(1), "HealthObserverBase::_mutex");
- // TODO: remove this field, should be done in config.
- HealthObserverIntensity _intensity = HealthObserverIntensity::kNonCritical;
+
// Indicates if there any check running to prevent running checks concurrently.
bool _currentlyRunningHealthCheck = false;
// Enforces the safety interval.