浏览代码

Revert "Removes some more cross references to autoscaling"

This reverts commit 77995bc586481f90fd51996b9b740a49689fa6e7.
Ask Solem 8 年之前
父节点
当前提交
abf0bc1f04
共有 4 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      docs/history/changelog-2.2.rst
  2. 1 1
      docs/history/changelog-3.1.rst
  3. 2 2
      docs/history/whatsnew-3.0.rst
  4. 1 1
      docs/whatsnew-3.1.rst

+ 1 - 1
docs/history/changelog-2.2.rst

@@ -613,7 +613,7 @@ Important Notes
 
 * worker: Now supports Autoscaling of child worker processes.
 
-    The ``--autoscale`` option can be used
+    The :option:`--autoscale <celery worker --autoscale>` option can be used
     to configure the minimum and maximum number of child worker processes:
 
     .. code-block:: text

+ 1 - 1
docs/history/changelog-3.1.rst

@@ -315,7 +315,7 @@ new in Celery 3.1.
 - **Canvas**: Fixed crash in chord unlock fallback task (Issue #2404).
 
 - **Worker**: Fixed rare crash occurring with
-  ``--autoscale`` enabled (Issue #2411).
+  :option:`--autoscale <celery worker --autoscale>` enabled (Issue #2411).
 
 - **Django**: Properly recycle worker Django database connections when the
   Django ``CONN_MAX_AGE`` setting is enabled (Issue #2453).

+ 2 - 2
docs/history/whatsnew-3.0.rst

@@ -496,12 +496,12 @@ stable and is now documented as part of the official API.
         Remember that a control command without *destination* will be
         sent to **all workers**.
 
-- ``autoscale``
+- :control:`autoscale`
 
     Tells workers with ``--autoscale`` enabled to change autoscale
     max/min concurrency settings.
 
-    This command is available programmatically as ``control.autoscale``:
+    This command is available programmatically as :meth:`@control.autoscale`:
 
     .. code-block:: pycon
 

+ 1 - 1
docs/whatsnew-3.1.rst

@@ -1221,7 +1221,7 @@ Fixes
 - Eventlet/gevent/solo/threads pools now properly handles :exc:`BaseException`
   errors raised by tasks.
 
-- ``autoscale`` and :control:`pool_grow`/:control:`pool_shrink` remote
+- :control:`autoscale` and :control:`pool_grow`/:control:`pool_shrink` remote
   control commands will now also automatically increase and decrease the
   consumer prefetch count.