This commit is contained in:
2026-07-08 10:08:10 +08:00
parent 7f36bb0d53
commit 56ebbd2a2e
+3
View File
@@ -255,6 +255,9 @@ class FileWatcher extends AbstractProcess implements OnProcessInterface
private function reloadWorkers(): bool
{
$server = \Kiri::getDi()->get(ServerInterface::class);
return $server->reload();
$pid = $this->getMasterPid();
if ($pid === null) {
return false;