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 withScheduleRetryConfig.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 byScheduleRetryConfig.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 withScheduleRetryConfig.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 byScheduleRetryConfig.maxDoublings.

Signature:

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-24 UTC.