ControlNode.Release.HealthCheckSpec (Control Node v0.6.0) View Source
Link to this section Summary
Link to this section Types
Specs
t() :: %ControlNode.Release.HealthCheckSpec{ function: (() -> :ok | any()), interval: pos_integer(), on_failure: atom() }
Release.HealthCheckSpec defines health check configuration for the release.
:function
: Health check function which will be evaluated in the release nodes.:interval
: Time interval after which health function shall be evaluated on release nodes.:on_failure
: Action to perform when a node failure is detected. Allowed values:reboot | :noop