Skip to content

Commit

Permalink
Add note for max_retries default in documentation
Browse files Browse the repository at this point in the history
The documentation lacks the mention of the default value for Task.max_retries. Since the last sentence talks about the behavior with a None value, it can be mistakenly assumed that this is the default value.
  • Loading branch information
schaenzer authored and auvipy committed Mar 2, 2021
1 parent 5baf972 commit ade944e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide/tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ You can also set `autoretry_for`, `max_retries`, `retry_backoff`, `retry_backoff
.. attribute:: Task.max_retries

A number. Maximum number of retries before giving up. A value of ``None``
means task will retry forever.
means task will retry forever. By default, this option is set to ``3``.

.. attribute:: Task.retry_backoff

Expand Down

0 comments on commit ade944e

Please sign in to comment.