瀏覽代碼

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 {}