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) {