Class: Google::Cloud::Tasks::V2::RetryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Tasks::V2::RetryConfig
- Defined in:
- lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb
Overview
Retry config.
These settings determine when a failed task attempt is retried.
Instance Attribute Summary collapse
-
#max_attempts ⇒ Integer
Number of attempts per task.
-
#max_backoff ⇒ Google::Protobuf::Duration
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
-
#max_doublings ⇒ Integer
The time between retries will double
max_doublingstimes. -
#max_retry_duration ⇒ Google::Protobuf::Duration
If positive,
max_retry_durationspecifies the time limit for retrying a failed task, measured from when the task was first attempted. -
#min_backoff ⇒ Google::Protobuf::Duration
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
Instance Attribute Details
#max_attempts ⇒ Integer
329 |
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb', line 329 class RetryConfig; end |
#max_backoff ⇒ Google::Protobuf::Duration
329 |
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb', line 329 class RetryConfig; end |
#max_doublings ⇒ Integer
329 |
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb', line 329 class RetryConfig; end |
#max_retry_duration ⇒ Google::Protobuf::Duration
329 |
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb', line 329 class RetryConfig; end |
#min_backoff ⇒ Google::Protobuf::Duration
329 |
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb', line 329 class RetryConfig; end |