Multiplier for each subsequent delay (e.g. 2.0 => baseDelay, 2baseDelay, 4baseDelay).
baseDelay
Delay after first failure before first retry.
jitter
Fraction of each delay, from 0.0 to 1.0, that is randomised so that many callers retrying on the same schedule do not hit the backend together. The wait before a retry is drawn uniformly between (1 - jitter) * d and d, where d is delayBeforeAttempt: 0.0 (the default) waits exactly d, 0.5 is "equal jitter" and 1.0 is "full jitter" (anywhere from zero to d). The wait is never longer than d.
maxAttempts
Total attempts (first try + retries); must be >= 1.
Delay before the given retry attempt (1-based: 1 is the first retry, after the initial try). attempt 1 -> baseDelay, attempt 2 -> baseDelay * backoffFactor, etc. With jitter set, this is the longest the wait can be.
Delay before the given retry attempt (1-based: 1 is the first retry, after the initial try). attempt 1 -> baseDelay, attempt 2 -> baseDelay * backoffFactor, etc. With jitter set, this is the longest the wait can be.