computeEventBackoffMs
computeEventBackoffMs(
attempt,options,random):number
Defined in: packages/client/src/event-lane.ts:371
Jittered exponential backoff with a ceiling — equal jitter around the doubling ceiling, exactly the mutation path’s congestion policy (half the ceiling plus a random share of the other half), so a fleet recovering from an outage never stampedes in lockstep.
Parameters
Section titled “Parameters”attempt
Section titled “attempt”number
options
Section titled “options”random
Section titled “random”() => number
Returns
Section titled “Returns”number