Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exponential Retry should be configurable. By default is 1000ms #154

Open
akshayrohatgi-hotstar opened this issue Jul 2, 2021 · 2 comments
Labels
needs info I need more information! question Further information is requested

Comments

@akshayrohatgi-hotstar
Copy link

No description provided.

@JustinBeckwith
Copy link
Owner

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?

@JustinBeckwith JustinBeckwith added needs info I need more information! question Further information is requested labels Aug 14, 2021
@groupsvkg
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info I need more information! question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants