JobRetryConfig

data class JobRetryConfig(val maxBackoffDuration: String? = null, val maxDoublings: Int? = null, val maxRetryDuration: String? = null, val minBackoffDuration: String? = null, val retryCount: Int? = null)

Constructors

Link copied to clipboard
constructor(maxBackoffDuration: String? = null, maxDoublings: Int? = null, maxRetryDuration: String? = null, minBackoffDuration: String? = null, retryCount: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The maximum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.

Link copied to clipboard
val maxDoublings: Int? = null

The time between retries will double maxDoublings times. A job's retry interval starts at minBackoffDuration, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoffDuration up to retryCount times.

Link copied to clipboard

The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retryCount, the job will be retried until both limits are reached. A duration in seconds with up to nine fractional digits, terminated by 's'.

Link copied to clipboard

The minimum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.

Link copied to clipboard
val retryCount: Int? = null

The number of attempts that the system will make to run a job using the exponential backoff procedure described by maxDoublings. Values greater than 5 and negative values are not allowed.