Ir al contenido
Español

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.

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”.