Preview deployment

interface MultipleShardRespawnOptions

export interface MultipleShardRespawnOptions

Options used to respawn all shards.

optional
respawnDelay? : number

How long to wait between killing a shard's process and restarting it (in milliseconds) (default: 500)

optional
shardDelay? : number

How long to wait between shards (in milliseconds) (default: 5000)

optional
timeout? : number

The amount in milliseconds to wait for a shard to become ready before continuing to another (-1 or Infinity for no wait) (default: 30000)