Browse Source

Merge pull request #3224 from veatch/patch-4

Comment about CELERYD_OPTS for multiple nodes
Ask Solem 8 years ago
parent
commit
8d7adc4a1c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/tutorials/daemonizing.rst

+ 3 - 1
docs/tutorials/daemonizing.rst

@@ -81,7 +81,7 @@ This is an example configuration for a Python project.
     #   most people will only start one node:
     CELERYD_NODES="worker1"
     #   but you can also start multiple and configure settings
-    #   for each in CELERYD_OPTS (see `celery multi --help` for examples):
+    #   for each in CELERYD_OPTS
     #CELERYD_NODES="worker1 worker2 worker3"
     #   alternatively, you can specify the number of nodes to start:
     #CELERYD_NODES=10
@@ -101,6 +101,8 @@ This is an example configuration for a Python project.
 
     # Extra command-line arguments to the worker
     CELERYD_OPTS="--time-limit=300 --concurrency=8"
+    # Configure node-specific settings by appending node name to arguments:
+    #CELERYD_OPTS="--time-limit=300 -c 8 -c:worker2 4 -c:worker3 2 -Ofair:worker1"
 
     # Set logging level to DEBUG
     #CELERYD_LOG_LEVEL="DEBUG"