Sfoglia il codice sorgente

Undocument settings result_exchange and result_exchange_type used by AMQP result backend

Ask Solem 8 anni fa
parent
commit
4dd7756119
2 ha cambiato i file con 17 aggiunte e 20 eliminazioni
  1. 17 2
      docs/conf.py
  2. 0 18
      docs/userguide/configuration.rst

+ 17 - 2
docs/conf.py

@@ -47,20 +47,35 @@ globals().update(conf.build_config(
 
 settings = {}
 ignored_settings = {
-    'worker_agent',
-    'worker_pool_putlocks',
+    # Deprecated broker settings (replaced by broker_url)
     'broker_host',
     'broker_user',
     'broker_password',
     'broker_vhost',
     'broker_port',
     'broker_transport',
+
+    # deprecated task settings.
     'chord_propagates',
+
+    # MongoDB settings replaced by URL config.,
     'mongodb_backend_settings',
+
+    # Redis settings replaced by URL config.
     'redis_host',
     'redis_port',
     'redis_db',
     'redis_password',
+
+    # Old deprecated AMQP result backend.
+    'result_exchange',
+    'result_exchange_type',
+
+    # Experimental
+    'worker_agent',
+
+    # Deprecated worker settings.
+    'worker_pool_putlocks',
 }
 
 

+ 0 - 18
docs/userguide/configuration.rst

@@ -756,24 +756,6 @@ you to customize the table names:
 RPC backend settings
 --------------------
 
-.. setting:: result_exchange
-
-``result_exchange``
-~~~~~~~~~~~~~~~~~~~
-
-Default: ``"celeryresults"``
-
-Name of the exchange to publish results in.
-
-.. setting:: result_exchange_type
-
-``result_exchange_type``
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-Default: ``"direct"``
-
-The exchange type of the result exchange.
-
 .. setting:: result_persistent
 
 ``result_persistent``