cayu.tasks.TaskTerminalizationRetryPolicy
Part of cayu.tasks.base. Read the Python API overview and install the required extra.
from cayu.tasks import TaskTerminalizationRetryPolicyFinite retry and backoff bounds for acknowledgement-ambiguous writes.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
max_attempts |
StrictInt |
Field(default=3, ge=1, le=10) |
attempt_timeout_seconds |
StrictFloat |
Field(default=30.0, gt=0, le=300) |
initial_backoff_seconds |
StrictFloat |
Field(default=0.05, ge=0, le=60) |
backoff_multiplier |
StrictFloat |
Field(default=2.0, ge=1, le=10) |
max_backoff_seconds |
StrictFloat |
Field(default=1.0, ge=0, le=60) |