ソースを参照

Adds CELERYD_BOOT_STEPS and CELERYD_AUTORELOADER to config reference

Ask Solem 13 年 前
コミット
8dc887399a
1 ファイル変更19 行追加0 行削除
  1. 19 0
      docs/configuration.rst

+ 19 - 0
docs/configuration.rst

@@ -1341,6 +1341,15 @@ The directory containing X.509 certificates used for
 Custom Component Classes (advanced)
 -----------------------------------
 
+.. setting:: CELERYD_BOOT_STEPS
+
+CELERYD_BOOT_STEPS
+~~~~~~~~~~~~~~~~~~
+
+This setting enables you to add additional components to the worker process.
+It should be a list of module names with :class:`celery.abstract.Component`
+classes, that augments functionality in the worker.
+
 .. setting:: CELERYD_POOL
 
 CELERYD_POOL
@@ -1364,6 +1373,16 @@ Name of the autoscaler class to use.
 
 Default is ``"celery.worker.autoscale.Autoscaler"``.
 
+.. setting:: CELERYD_AUTORELOADER
+
+CELERYD_AUTORELOADER
+~~~~~~~~~~~~~~~~~~~~
+
+Name of the autoreloader class used by the worker to reload
+Python modules and files that have changed.
+
+Default is: ``"celery.worker.autoreload.Autoreloader"``.
+
 .. setting:: CELERYD_CONSUMER
 
 CELERYD_CONSUMER