Skip to content

Commit

Permalink
Fix a typo in /userguide/optimizing (celery#4975)
Browse files Browse the repository at this point in the history
  • Loading branch information
XD-DENG authored and auvipy committed Aug 14, 2018
1 parent 74760cb commit 0e86862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/userguide/optimizing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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).

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
$ 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
available for work, disabling the prefetch behavior::
Expand Down

0 comments on commit 0e86862

Please sign in to comment.