temporalio.common.RetryPolicy
Options for retrying workflows and activities.
| Static Method | from |
Create a retry policy from the proto object. |
| Method | apply |
Apply the fields in this policy to the given proto object. |
| Class Variable | backoff |
Coefficient to multiply previous backoff interval by to get new interval. Default 2.0. |
| Class Variable | initial |
Backoff interval for the first retry. Default 1s. |
| Class Variable | maximum |
Maximum number of attempts. |
| Class Variable | maximum |
Maximum backoff interval between retries. Default 100x initial_interval. |
| Class Variable | non |
List of error types that are not retryable. |
| Method | _validate |
Undocumented |
Create a retry policy from the proto object.
Apply the fields in this policy to the given proto object.
Coefficient to multiply previous backoff interval by to get new interval. Default 2.0.
Backoff interval for the first retry. Default 1s.
Maximum number of attempts.
If 0, the default, there is no maximum.
Maximum backoff interval between retries. Default 100x
initial_interval.
List of error types that are not retryable.