[Docs] Question about factor
vitkarpov opened this issue · 0 comments
vitkarpov commented
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?