retry_once_priority
Task that fails and is retried. Returns the priority.
def retry_once_priority(
self: Task,
*args: any,
expires: float = 60.0,
max_retries: integer = 1,
countdown: float = 0.1
) - > integer
Task that fails and is retried. Returns the priority.
Parameters
| Name | Type | Description |
|---|---|---|
| self | Task | The Celery task instance bound to the function |
| *args | any | Variable length argument list passed to the task |
| expires | float = 60.0 | The expiration time in seconds for the task execution |
| max_retries | integer = 1 | The maximum number of times the task should be retried before failing |
| countdown | float = 0.1 | The delay in seconds to wait before executing the retry attempt |
Returns
| Type | Description |
|---|---|
integer | The priority level of the task retrieved from the delivery information after a successful retry |