Skip to content

Commit

Permalink
Merge pull request #15 from cloudtay/main
Browse files Browse the repository at this point in the history
synchronize latest code
  • Loading branch information
cclilshy authored Oct 17, 2024
2 parents a401e2e + 8609d78 commit 785ed13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ThinkPHP/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function boot(): void
fwrite(STDOUT, sprintf(
"Worker %s@%d started.\n",
$this->getName(),
Kernel::getInstance()->supportProcessControl() ? getmypid() : posix_getpid()
Kernel::getInstance()->supportProcessControl() ? posix_getpid() : getmypid()
));

/*** register loop timer*/
Expand Down

0 comments on commit 785ed13

Please sign in to comment.