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

[Docs] Question about factor #59

Open
vitkarpov opened this issue Aug 30, 2018 · 0 comments
Open

[Docs] Question about factor #59

vitkarpov opened this issue Aug 30, 2018 · 0 comments

Comments

@vitkarpov
Copy link

Hey, hope you're doing well!

I have a question about this chapter in the docs. You declare factor as an exponential factor but in the formula below:

Math.min(random * minTimeout * Math.pow(factor, attempt), maxTimeout)

it's used in terms of the power's base, not the factor itself, isn't it? From my perspective, it's not the same.

Can you elaborate this subtle moment, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant