RetryStrategy

class RetryStrategy(val maxRetries: Int = 3, val base: Double = 2.0, val maxDelay: Duration = 60.seconds)

Specifies the retry strategy

Parameters

maxRetries

the maximum amount of retries to perform for a request

base

retry base value

maxDelay

max retry delay

Constructors

Link copied to clipboard
constructor(maxRetries: Int = 3, base: Double = 2.0, maxDelay: Duration = 60.seconds)

Properties

Link copied to clipboard
val base: Double = 2.0
Link copied to clipboard
Link copied to clipboard
val maxRetries: Int = 3