Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix pids in isRunning
  • Loading branch information
albertcht committed Jul 5, 2019
commit 277399fa7e1b4598f5f1a68a4f535ff98cf2d0c2
3 changes: 2 additions & 1 deletion src/Commands/HttpServerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ public function isRunning()
return false;
}

[$masterPid, $managerPid] = $pids;
$masterPid = $pids['masterPid'] ?? null;
$managerPid = $pids['managerPid'] ?? null;

if ($managerPid) {
// Swoole process mode
Expand Down