ScheduleRetryConfig interface Stay organized with collections Save and categorize content based on your preferences.
Scheduler retry options. Applies only to scheduled functions.
Signature:
exportinterfaceScheduleRetryConfigProperties
| Property | Type | Description |
|---|---|---|
| maxBackoffDuration | string |Expression<string> | ResetValue | The maximum amount of time to wait before retrying a job after it fails. |
| maxDoublings | number |Expression<number> | ResetValue | The max number of backoff doubling applied at each retry. |
| maxRetryDuration | string |Expression<string> | ResetValue | 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. |
| minBackoffDuration | string |Expression<string> | ResetValue | The minimum amount of time to wait before retrying a job after it fails. |
| retryCount | number |Expression<number> | ResetValue | The 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.