瀏覽代碼

Fix a typo in /userguide/optimizing (#4975)

Xiaodong 6 年之前
父節點
當前提交
0e86862a4a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/userguide/optimizing.rst

+ 2 - 2
docs/userguide/optimizing.rst

@@ -225,11 +225,11 @@ have a buffer as small as 64KB but on recent Linux versions the buffer
 size is 1MB (can only be changed system wide).
 size is 1MB (can only be changed system wide).
 
 
 You can disable this prefetching behavior by enabling the
 You can disable this prefetching behavior by enabling the
-:option:`-Ofair <celery worker -O>` worker option:
+:option:`-O fair <celery worker -O>` worker option:
 
 
 .. code-block:: console
 .. code-block:: console
 
 
-    $ celery -A proj worker -l info -Ofair
+    $ celery -A proj worker -l info -O fair
 
 
 With this option enabled the worker will only write to processes that are
 With this option enabled the worker will only write to processes that are
 available for work, disabling the prefetch behavior::
 available for work, disabling the prefetch behavior::