Procházet zdrojové kódy

Warn that worker_process_init must not be blocking. Closes #1715

Ask Solem před 11 roky
rodič
revize
a9b000fd01
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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