walkor %!s(int64=3) %!d(string=hai) anos
pai
achega
e7daf00a45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Worker.php

+ 1 - 1
src/Worker.php

@@ -974,7 +974,7 @@ class Worker
                 // Send stop signal to master process.
                 $master_pid && \posix_kill($master_pid, $sig);
                 // Timeout.
-                $timeout    = 5;
+                $timeout    = static::$stopTimeout + 3;
                 $start_time = \time();
                 // Check master process is still alive?
                 while (1) {