Class: Google::Cloud::Tasks::V2beta2::RetryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Tasks::V2beta2::RetryConfig
- Defined in:
- lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb
Overview
Retry config.
These settings determine how a failed task attempt is retried.
Instance Attribute Summary collapse
-
#max_attempts ⇒ Integer
The maximum number of attempts for a 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.
-
#unlimited_attempts ⇒ true, false
If true, then the number of attempts is unlimited.
Instance Attribute Details
#max_attempts ⇒ Integer
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |
#max_backoff ⇒ Google::Protobuf::Duration
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |
#max_doublings ⇒ Integer
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |
#max_retry_duration ⇒ Google::Protobuf::Duration
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |
#min_backoff ⇒ Google::Protobuf::Duration
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |
#unlimited_attempts ⇒ true, false
332 |
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb', line 332 class RetryConfig; end |