콘텐츠로 이동
한국어

FailureDetectorOptionsType

이 콘텐츠는 아직 번역되지 않았습니다.

FailureDetectorOptionsType = object

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

Plain options-object shape accepted by a FailureDetector.

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


readonly heartbeatIntervalMs: number

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

How often the detector samples and decides membership health.


readonly unreachableAfterMs: number

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

Time without heartbeat after which a peer is marked unreachable.