# Class TaskRetryPolicy (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.12

    TaskRetryPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Task Retry Policy is implemented on a best-effort basis. Retry delay
will be exponential based on provided minimum and maximum backoffs.
<https://en.wikipedia.org/wiki/Exponential_backoff>. Note that the
delay between consecutive task restarts may not always precisely
match the configured settings. This can happen when the
ConnectCluster is in rebalancing state or if the ConnectCluster is
unresponsive etc. The default values for minimum and maximum
backoffs are 60 seconds and 30 minutes respectively.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `minimum_backoff` | `google.protobuf.duration_pb2.Duration` Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay. |
| `maximum_backoff` | `google.protobuf.duration_pb2.Duration` Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay. |