From a4aeb4ba16eaedd8aa3f1fa5fb8ef370da770f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 1 Sep 2020 15:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Process/Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Process/Process.php b/system/Process/Process.php index 07599b53..0833ee26 100644 --- a/system/Process/Process.php +++ b/system/Process/Process.php @@ -47,7 +47,7 @@ abstract class Process extends Component */ protected function exportSocket($workerId) { - return $this->application->get(Pool::class)->getProcess(1)->exportSocket(); + return $this->application->get(Pool::class)->getProcess($workerId)->exportSocket(); }