Bläddra i källkod

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

Ask Solem 15 år sedan
förälder
incheckning
4e2b2c327f
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      celery/execute.py

+ 3 - 0
celery/execute.py

@@ -68,6 +68,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 {}