Type alias ConnectionOptions

ConnectionOptions: Options.Connect & {
    reconnectDelays?: number[];
}

Type declaration

  • Optional reconnectDelays?: number[]

    An array of reconnection delays. For example [1000, 10000, 60000] would mean that after first attempt of connecting there's a delay of 1s, then 10s and all the rest after 60s until a successful connection to RabbitMQ is made

    Default

    [1000]
    

Generated using TypeDoc