Selaa lähdekoodia

Log master pid not alive

walkor 1 vuosi sitten
vanhempi
commit
7beb1e4871
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
         $masterIsAlive = posix_kill($masterPid, 0) && posix_getpid() !== $masterPid;
         if (!$masterIsAlive) {
         if (!$masterIsAlive) {
+            static::log("Master pid:$masterPid is not alive");
             return false;
             return false;
         }
         }