Browse Source

Documentation: celery.signals: Documented worker_process_init. Thanks to Manu

Ask Solem 14 years ago
parent
commit
20104f8759
1 changed files with 10 additions and 6 deletions
  1. 10 6
      docs/reference/celery.signals.rst

+ 10 - 6
docs/reference/celery.signals.rst

@@ -43,7 +43,7 @@ Task Signals
 
 
 .. data:: task_sent
 .. data:: task_sent
 
 
-    Triggered when a task has been sent to the broker.
+    Dispatched when a task has been sent to the broker.
     Note that this is executed in the client process, the one sending
     Note that this is executed in the client process, the one sending
     the task, not in the worker.
     the task, not in the worker.
 
 
@@ -71,7 +71,7 @@ Task Signals
 
 
 .. data:: task_prerun
 .. data:: task_prerun
 
 
-    Triggered before a task is executed.
+    Dispatched before a task is executed.
 
 
     Sender is the task class being executed.
     Sender is the task class being executed.
 
 
@@ -91,7 +91,7 @@ Task Signals
 
 
 .. data:: task_postrun
 .. data:: task_postrun
 
 
-    Triggered after a task has been executed.
+    Dispatched after a task has been executed.
 
 
     Sender is the task class executed.
     Sender is the task class executed.
 
 
@@ -118,12 +118,16 @@ Worker Signals
 
 
 .. data:: worker_init
 .. data:: worker_init
 
 
-    Triggered before the worker is started.
+    Dispatched before the worker is started.
 
 
 .. data:: worker_ready
 .. data:: worker_ready
 
 
-    Triggered when the worker is ready to accept work.
+    Dispatched when the worker is ready to accept work.
+
+.. data:: worker_process_init
+
+    Dispatched by each new pool worker process when it starts.
 
 
 .. data:: worker_shutdown
 .. data:: worker_shutdown
 
 
-    Triggered when the worker is about to shut down.
+    Dispatched when the worker is about to shut down.