node-retry
node-retry copied to clipboard
[Docs] Question about factor
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?