Explorar el Código

Log master pid not alive

walkor hace 1 año
padre
commit
7beb1e4871
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Worker.php

+ 1 - 0
src/Worker.php

@@ -2597,6 +2597,7 @@ class Worker
 
         $masterIsAlive = posix_kill($masterPid, 0) && posix_getpid() !== $masterPid;
         if (!$masterIsAlive) {
+            static::log("Master pid:$masterPid is not alive");
             return false;
         }