Browse Source

Update Worker.php

walkor 2 years ago
parent
commit
8dfe72bb26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Worker.php

+ 1 - 1
src/Worker.php

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