Browse Source

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

Xiaodong 7 years ago
parent
commit
0e86862a4a
1 changed files with 2 additions and 2 deletions
  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::