diff --git a/docs/install.rst b/docs/install.rst index 87c337d..e6b61f6 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -92,7 +92,7 @@ Limits the amount of successful tasks saved to Django. - Defaults to ``250`` - Failures are always saved. -.. _queue_limit: +.. _sync: sync ~~~~ @@ -100,6 +100,8 @@ sync When set to ``True`` this configuration option forces all :func:`async` calls to be run with ``sync=True``. Effectively making everything synchronous. Useful for testing. Defaults to ``False``. +.. _queue_limit: + queue_limit ~~~~~~~~~~~ @@ -109,7 +111,7 @@ It can also be used to manage the loss of data in case of a cluster failure. Defaults to ``None``, meaning no limit. label -~~~~~ +~~~~~Dev The label used for the Django Admin page. Defaults to ``'Django Q'`` diff --git a/docs/tasks.rst b/docs/tasks.rst index 8e7c969..10c5a65 100644 --- a/docs/tasks.rst +++ b/docs/tasks.rst @@ -54,6 +54,7 @@ Overrides the cluster's timeout setting for this task. sync """" Simulates a task execution synchronously. Useful for testing. +Can also be forced globally via the :ref:`sync` configuration option. redis """""