Skip to content

Commit c0af520

Browse files
AndrewPixauvipy
authored andcommitted
Fix recent tasks doc file update (celery#5879)
1 parent bef4c16 commit c0af520

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/userguide/tasks.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,11 @@ makes it easy. Just specify the :attr:`~Task.retry_backoff` argument, like this:
798798
def x():
799799
...
800800
801+
By default, this exponential backoff will also introduce random jitter_ to
802+
avoid having all the tasks run at the same moment. It will also cap the
803+
maximum backoff delay to 10 minutes. All these settings can be customized
804+
via options documented below.
805+
801806
.. versionadded:: 4.4
802807

803808
You can also set `autoretry_for`, `retry_kwargs`, `retry_backoff`, `retry_backoff_max` and `retry_jitter` options in class-based tasks:
@@ -811,11 +816,6 @@ You can also set `autoretry_for`, `retry_kwargs`, `retry_backoff`, `retry_backof
811816
retry_backoff_max = 700
812817
retry_jitter = False
813818
814-
By default, this exponential backoff will also introduce random jitter_ to
815-
avoid having all the tasks run at the same moment. It will also cap the
816-
maximum backoff delay to 10 minutes. All these settings can be customized
817-
via options documented below.
818-
819819
.. attribute:: Task.autoretry_for
820820

821821
A list/tuple of exception classes. If any of these exceptions are raised

0 commit comments

Comments
 (0)