PhiAccrualSettings
Defined in: src/cluster/PhiAccrualFailureDetector.ts:5
Properties
Section titled “Properties”acceptableHeartbeatPauseMs
Section titled “acceptableHeartbeatPauseMs”
readonlyacceptableHeartbeatPauseMs:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:20
Grace period added to the most recent heartbeat — heartbeats that
arrive up to acceptableHeartbeatPauseMs late do not raise phi.
downThreshold
Section titled “downThreshold”
readonlydownThreshold:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:11
Phi value above which the peer is flagged down. Must be > unreachableThreshold.
heartbeatIntervalMs
Section titled “heartbeatIntervalMs”
readonlyheartbeatIntervalMs:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:7
Intended heartbeat cadence. Used to keep interval compatible with FailureDetector.
maxSampleSize
Section titled “maxSampleSize”
readonlymaxSampleSize:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:13
How many recent intervals to keep in the sliding window.
minStdDeviationMs
Section titled “minStdDeviationMs”
readonlyminStdDeviationMs:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:15
Minimum stddev floor — avoids over-eager flagging for very stable peers.
unreachableThreshold
Section titled “unreachableThreshold”
readonlyunreachableThreshold:number
Defined in: src/cluster/PhiAccrualFailureDetector.ts:9
Phi value above which the peer is flagged unreachable. Typical 8–12.