walkor преди 2 години
родител
ревизия
8dfe72bb26
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Worker.php

+ 1 - 1
src/Worker.php

@@ -937,7 +937,7 @@ class Worker
             exit;
         }
 
-        $statisticsFile = static::$statusFile ?: __DIR__ . "/../workerman-$masterPid.status";
+        $statisticsFile = static::$statusFile ?: __DIR__ . "/../workerman-$masterPid.$command";
 
         // execute command.
         switch ($command) {