add_autoretry_behaviour
Wrap task's run method with auto-retry functionality.
def add_autoretry_behaviour(
task: Task,
**options: dict
) - > null
Wrap task's run method with auto-retry functionality.
Parameters
| Name | Type | Description |
|---|---|---|
| task | Task | The Celery task instance whose run method will be decorated with retry logic. |
| **options | dict | Configuration overrides for retry behavior including 'autoretry_for', 'retry_backoff', and 'retry_jitter'. |
Returns
| Type | Description |
|---|---|
null | This function modifies the task instance in-place and does not return a value. |