Преглед на файлове

Mention CELERY_ALWAYS_EAGER in the documentation for apply_async/delay. Closes #45

Ask Solem преди 15 години
родител
ревизия
4f3cccc014
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      celery/execute.py

+ 3 - 0
celery/execute.py

@@ -64,6 +64,9 @@ def apply_async(task, args=None, kwargs=None, countdown=None, eta=None,
         methods that have been registered with
         :mod:`carrot.serialization.registry`.
 
+    **Note**: If the ``CELERY_ALWAYS_EAGER`` setting is set, it will be
+    replaced by a local :func:`apply` call instead.
+
     """
     args = args or []
     kwargs = kwargs or {}