FailureDetectorOptionsType
FailureDetectorOptionsType =
object
Defined in: src/cluster/FailureDetectorOptions.ts:5
Plain options-object shape accepted by a FailureDetector.
Properties
Section titled “Properties”downAfterMs
Section titled “downAfterMs”
readonlydownAfterMs:number
Defined in: src/cluster/FailureDetectorOptions.ts:17
Time without heartbeat after which a peer is declared down. Measured
from the last heartbeat like unreachableAfterMs, not added on
top of it — so it must be the larger of the two, and the peer spends
downAfterMs - unreachableAfterMs in the unreachable state before
being declared down.
heartbeatIntervalMs
Section titled “heartbeatIntervalMs”
readonlyheartbeatIntervalMs:number
Defined in: src/cluster/FailureDetectorOptions.ts:7
How often the detector samples and decides membership health.
unreachableAfterMs
Section titled “unreachableAfterMs”
readonlyunreachableAfterMs:number
Defined in: src/cluster/FailureDetectorOptions.ts:9
Time without heartbeat after which a peer is marked unreachable.
