Jelajahi Sumber

Docs: Clarify what the -P option belongs to.

Ask Solem 9 tahun lalu
induk
melakukan
a1745ca36c
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      docs/configuration.rst

+ 3 - 2
docs/configuration.rst

@@ -1867,8 +1867,9 @@ Name of the pool class used by the worker.
 .. admonition:: Eventlet/Gevent
 
     Never use this option to select the eventlet or gevent pool.
-    You must use the `-P` option instead, otherwise the monkey patching
-    will happen too late and things will break in strange and silent ways.
+    You must use the `-P` option to :program:`celery worker` instead, to
+    ensure the monkey patches are not applied too late, causing things
+    to break in strange ways.
 
 Default is ``celery.concurrency.prefork:TaskPool``.