ソースを参照

Fix docs about early ack and prefetch multiplier of 1 (#4955)

With early ack and prefetch multiplier of *one*, the executing tasks
**are** acknowledged. That's why the worker will "reserve" twice the
number of worker processes of tasks.
Przemysław Suliga 6 年 前
コミット
118d00e8e9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      docs/userguide/optimizing.rst

+ 1 - 1
docs/userguide/optimizing.rst

@@ -170,7 +170,7 @@ When using the default of early acknowledgment, having a prefetch multiplier set
 of *one*, means the worker will reserve at most one extra task for every
 of *one*, means the worker will reserve at most one extra task for every
 worker process: or in other words, if the worker is started with
 worker process: or in other words, if the worker is started with
 :option:`-c 10 <celery worker -c>`, the worker may reserve at most 20
 :option:`-c 10 <celery worker -c>`, the worker may reserve at most 20
-tasks (10 unacknowledged tasks executing, and 10 unacknowledged reserved
+tasks (10 acknowledged tasks executing, and 10 unacknowledged reserved
 tasks) at any time.
 tasks) at any time.
 
 
 Often users ask if disabling "prefetching of tasks" is possible, but what
 Often users ask if disabling "prefetching of tasks" is possible, but what