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
in the fullJitter function, a random number is used to calculate the delay, which is multiplied by prevDelay*e^attemptNumber.
But Math.random() can return 0, and then the total delay before repeating the request will be 0.
Is this a bug, or ok?
The text was updated successfully, but these errors were encountered:
@Corvus278 Rather than returning the delay, this function merely returns the jitter. As such, the jitter may be zero, but that would not result in the delay being zero.
in the fullJitter function, a random number is used to calculate the delay, which is multiplied by prevDelay*e^attemptNumber.
But Math.random() can return 0, and then the total delay before repeating the request will be 0.
Is this a bug, or ok?
The text was updated successfully, but these errors were encountered: