KeepOldestOptionsType
Esta página aún no está disponible en tu idioma.
KeepOldestOptionsType =
object
Defined in: src/cluster/downing/KeepOldestOptions.ts:4
Plain options-object shape accepted by KeepOldest.
Properties
Section titled “Properties”downIfAlone?
Section titled “downIfAlone?”
readonlyoptionaldownIfAlone?: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.
readonlyoptionalrole?:string
Defined in: src/cluster/downing/KeepOldestOptions.ts:6
If set, only members with this role are eligible “oldest”.
