Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_FACTOR: Double = 2.0

Multiplier applied to the backoff after each failed attempt.

Link copied to clipboard

Backoff before the second attempt.

Link copied to clipboard
const val DEFAULT_JITTER: Double = 0.5

Fraction of each backoff that is randomized away, to de-correlate a fleet's retries.

Link copied to clipboard
const val DEFAULT_MAX_ATTEMPTS: Int = 3

Total attempts including the first.

Link copied to clipboard

Ceiling on a single backoff wait.