浏览代码

document the default CELERYD_CONCURRENCY and CELERYD_PREFETCH_MULTIPLIER values

fredj 14 年之前
父节点
当前提交
35890c60aa
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/reference/celery.conf.rst

+ 3 - 1
docs/reference/celery.conf.rst

@@ -275,12 +275,14 @@ Celeryd
 .. data:: CELERYD_CONCURRENCY
 .. data:: CELERYD_CONCURRENCY
 
 
     The number of concurrent worker processes.
     The number of concurrent worker processes.
-    If set to ``0``, the total number of available CPUs/cores will be used.
+    If set to ``0`` (the default), the total number of available CPUs/cores
+    will be used.
 
 
 .. data:: CELERYD_PREFETCH_MULTIPLIER
 .. data:: CELERYD_PREFETCH_MULTIPLIER
 
 
     The number of concurrent workers is multipled by this number to yield
     The number of concurrent workers is multipled by this number to yield
     the wanted AMQP QoS message prefetch count.
     the wanted AMQP QoS message prefetch count.
+    Default is: ``4``
 
 
 .. data:: CELERYD_POOL
 .. data:: CELERYD_POOL