Selaa lähdekoodia

Warn that worker_process_init must not be blocking. Closes #1715

Ask Solem 11 vuotta sitten
vanhempi
commit
a9b000fd01
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      docs/userguide/signals.rst

+ 4 - 0
docs/userguide/signals.rst

@@ -385,6 +385,10 @@ worker_process_init
 
 Dispatched in all pool child processes when they start.
 
+Note that handlers attached to this signal must not be blocking
+for more than 4 seconds, or the process will be killed assuming
+it failed to start.
+
 .. signal:: worker_process_shutdown
 
 worker_process_shutdown