ExponentialBackoff

constructor(base: Double = 2.0, baseDelayMs: Long, maxDelayMs: Long, randomizationMs: Long)

Parameters

base

The exponential base multiplier. Defaults to 2.0.

baseDelayMs

The initial delay in milliseconds before the first retry. Defaults to 1000.

maxDelayMs

The maximum delay in milliseconds, capping exponential growth. Defaults to 60000.

randomizationMs

Random jitter added to each delay to avoid thundering herd. Defaults to 1000.