콘텐츠로 이동
한국어

KeepOldestOptionsType

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

KeepOldestOptionsType = object

Defined in: src/cluster/downing/KeepOldestOptions.ts:4

Plain options-object shape accepted by KeepOldest.

readonly optional downIfAlone?: boolean

Defined in: src/cluster/downing/KeepOldestOptions.ts:12

When true, if the oldest member is unreachable the other side wins (this flips the rule for paranoid setups where the oldest might be the one that failed). Default: false.


readonly optional role?: string

Defined in: src/cluster/downing/KeepOldestOptions.ts:6

If set, only members with this role are eligible “oldest”.