Skip to content

Commit

Permalink
Update Worker.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Mar 10, 2023
1 parent 41f9548 commit 8dfe72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ protected static function parseCommand(): void
exit;
}

$statisticsFile = static::$statusFile ?: __DIR__ . "/../workerman-$masterPid.status";
$statisticsFile = static::$statusFile ?: __DIR__ . "/../workerman-$masterPid.$command";

// execute command.
switch ($command) {
Expand Down

0 comments on commit 8dfe72b

Please sign in to comment.