Переглянути джерело

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
     Also run the `celery beat` periodic task scheduler.  Please note that
     there must only be one instance of this service.
     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
 .. cmdoption:: -Q, --queues
 
 
     List of queues to enable for this worker, separated by comma.
     List of queues to enable for this worker, separated by comma.