You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
We would love to be able to add jitter to the retry logic in order to prevent retry storms from the hosts impacted by an outage.
This is something that axiosRetry can support through a custom function but I am wondering what the preferred approach to this is.
The options I see are:
Add an option for jitter like in the @segment/localstorage-retry library,
Add an option for the axiosRetryConfig which we can merge with the defaults and pass into axiosRetry, or
Add an option for axiosRetryInstance like axiosInstance.
My only concern with 3 is that axiosInstance need to be passed into axiosRetry and this may be easy to miss-configure if someone is playing around with this.