RetryConfig
Stay organized with collections
Save and categorize content based on your preferences.
Retry config.
These settings determine when a failed task attempt is retried.
| JSON representation |
|---|
{ "maxAttempts": integer, "maxRetryDuration": string, "minBackoff": string, "maxBackoff": string, "maxDoublings": integer } |
| Fields | |
|---|---|
maxAttempts |
Number of attempts per task, including the first attempt. (If the first attempt fails, there will be Must be greater than or equal to -1, which indicates unlimited attempts. Cloud Tasks stops retrying only when If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as task_retry_limit in queue.yaml/xml. |
maxRetryDuration |
If positive, A zero (0) indicates an unlimited duration, up to the maximum task retention limit. The value must be given as a string that indicates the length of time (in seconds) followed by If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as taskAgeLimit in queue.yaml/xml. |
minBackoff |
A task will be The value must be given as a string that indicates the length of time (in seconds) followed by If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as min_backoff_seconds in queue.yaml/xml. |
maxBackoff |
A task will be The value must be given as a string that indicates the length of time (in seconds) followed by If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as max_backoff_seconds in queue.yaml/xml. |
maxDoublings |
The time between retries will double A task's retry interval starts at For example, if If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as maxDoublings in queue.yaml/xml. |