the initial delay between the first failed attempt and the next one.
the number of retries to do before giving up.
a function that takes the current iteration and returns a factor to be applied to the initialDelay (default: FailoverStrategy.defaultFactor)
a function that takes the current iteration and returns a factor to be applied to the initialDelay (default: FailoverStrategy.defaultFactor)
the initial delay between the first failed attempt and the next one.
the number of retries to do before giving up.
A failover strategy for sending requests. The default uses 10 retries: 125ms, 250ms, 375ms, 500ms, 625ms, 750ms, 875ms, 1s, 1125ms, 1250ms
the initial delay between the first failed attempt and the next one.
the number of retries to do before giving up.
a function that takes the current iteration and returns a factor to be applied to the initialDelay (default: FailoverStrategy.defaultFactor)