mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-01 01:08:11 +08:00
add attempt_count to config docs, set value to 1 in inital task save
This commit is contained in:
@@ -75,6 +75,15 @@ ack_failures
|
||||
|
||||
When set to ``True``, also acknowledge unsuccessful tasks. This causes failed tasks to be considered as successful deliveries, thereby removing them from the task queue. Can also be set per-task by passing the ``ack_failure`` option to :func:`async_task`. Defaults to ``False``.
|
||||
|
||||
|
||||
.. attempt_count:
|
||||
|
||||
attempt_count
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Limit the number of retries for failed tasks. Set to 0 for infinite retries. Defaults to 0
|
||||
|
||||
|
||||
.. _retry:
|
||||
|
||||
retry
|
||||
|
||||
Reference in New Issue
Block a user