浏览代码

Document that -B should be used for development only

Berker Peksag 8 年之前
父节点
当前提交
6cd88d8542
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      celery/bin/worker.py

+ 5 - 0
celery/bin/worker.py

@@ -30,6 +30,11 @@ The :program:`celery worker` command (previously known as ``celeryd``)
     Also run the `celery beat` periodic task scheduler.  Please note that
     there must only be one instance of this service.
 
+    .. note::
+
+        ``-B`` is meant to be used for development purposes. For production
+        environment, you need to start :program:`celery beat` separately.
+
 .. cmdoption:: -Q, --queues
 
     List of queues to enable for this worker, separated by comma.