Skip to content

PhiAccrualSettings

Defined in: src/cluster/PhiAccrualFailureDetector.ts:5

readonly acceptableHeartbeatPauseMs: 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.


readonly downThreshold: number

Defined in: src/cluster/PhiAccrualFailureDetector.ts:11

Phi value above which the peer is flagged down. Must be > unreachableThreshold.


readonly heartbeatIntervalMs: number

Defined in: src/cluster/PhiAccrualFailureDetector.ts:7

Intended heartbeat cadence. Used to keep interval compatible with FailureDetector.


readonly maxSampleSize: number

Defined in: src/cluster/PhiAccrualFailureDetector.ts:13

How many recent intervals to keep in the sliding window.


readonly minStdDeviationMs: number

Defined in: src/cluster/PhiAccrualFailureDetector.ts:15

Minimum stddev floor — avoids over-eager flagging for very stable peers.


readonly unreachableThreshold: number

Defined in: src/cluster/PhiAccrualFailureDetector.ts:9

Phi value above which the peer is flagged unreachable. Typical 8–12.