ScheduleRetryConfig interface

Scheduler retry options. Applies only to scheduled functions.

Signature:

exportinterfaceScheduleRetryConfig

Properties

PropertyTypeDescription
maxBackoffDurationstring | Expression<string> | ResetValueThe maximum amount of time to wait before retrying a job after it fails.
maxDoublingsnumber | Expression<number> | ResetValueThe max number of backoff doubling applied at each retry.
maxRetryDurationstring | Expression<string> | ResetValueThe time limit for retrying a failed job, measured from time when an execution was first attempted.If specified with ScheduleRetryConfig.retryCount, the job will be retried until both limits are reached.
minBackoffDurationstring | Expression<string> | ResetValueThe minimum amount of time to wait before retrying a job after it fails.
retryCountnumber | Expression<number> | ResetValueThe number of attempts that the system will make to run a job using the exponential backoff procedure described by ScheduleRetryConfig.maxDoublings.

ScheduleRetryConfig.maxBackoffDuration

The maximum amount of time to wait before retrying a job after it fails.

Signature:

maxBackoffDuration?:string|Expression<string>|ResetValue;

ScheduleRetryConfig.maxDoublings

The max number of backoff doubling applied at each retry.

Signature:

maxDoublings?:number|Expression<number>|ResetValue;

ScheduleRetryConfig.maxRetryDuration

The time limit for retrying a failed job, measured from time when an execution was first attempted.

If specified with ScheduleRetryConfig.retryCount, the job will be retried until both limits are reached.

Signature:

maxRetryDuration?:string|Expression<string>|ResetValue;

ScheduleRetryConfig.minBackoffDuration

The minimum amount of time to wait before retrying a job after it fails.

Signature:

minBackoffDuration?:string|Expression<string>|ResetValue;

ScheduleRetryConfig.retryCount

The number of attempts that the system will make to run a job using the exponential backoff procedure described by ScheduleRetryConfig.maxDoublings.

Signature:

retryCount?:number|Expression<number>|ResetValue;