浏览代码

Update Worker.php

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