Skip to main content

DEFAULT_HEALTH_PROBE_FAILURE_THRESHOLD

Constant DEFAULT_HEALTH_PROBE_FAILURE_THRESHOLD 

Source
pub const DEFAULT_HEALTH_PROBE_FAILURE_THRESHOLD: i64 = 3;
Expand description

Default spec.health.probe.failureThreshold: how many consecutive failing probes must accumulate before the loud RepositoryVanished / BackendReachable=False condition is raised, an event fired, and — under the default onFailure: Degrade — the repository moved to Degraded (pausing backups). Debounces a single transient blip (an S3 list-after-delete race, a NAS reboot, a credential-rotation moment) from alarming on-call, tripping the breaker, or nudging a destructive manual recreate.