function

TaskRetries

func TaskRetries( maxAttempts int, delay, maxDelay time.Duration, backoff TaskBackoff, ) TaskOption

Persist retry count, delay, maximum delay, and backoff policy.

Source ridu.go:205

@param maxAttempts
The maxAttempts value.
@param delay
The delay value.
@param maxDelay
The maxDelay value.
@param backoff
The backoff value.
@returns
The declared result.

Persisted policy prevents deployments from silently changing already-admitted work.

Related types