retry-axios
retry-axios copied to clipboard
Exponential Retry should be configurable. By default is 1000ms
Greetings! Could you share a few more details? Per the README, you can set the backoffType
to 'exponential' (default), 'static' or 'linear'. You can set the initial delay with the retryDelay
property. Which characteristic are you specifically having trouble controlling?
I am looking for something similar. Below is the formula implemented for exponential backoff currently
delay = ((2 ** retrycount - 1) / 2) * 1000;
Which means possible value for delay is - 500, 1500, 3500, 7500 ...
milliseconds.
What if I want to configure first delay to be 100 milliseconds
?
1000
in formula must be configurable to achieve this.