From 3fa983fbeff2f415c7aa200478b7120b74b23bf0 Mon Sep 17 00:00:00 2001 From: bingcool <2437667702@qq.com> Date: Sat, 1 Jun 2024 17:05:29 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Aoptimize=20worker=20daemon=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Test/WorkerDaemon/PipeWorkerProcess.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test/WorkerDaemon/PipeWorkerProcess.php b/Test/WorkerDaemon/PipeWorkerProcess.php index e21e241a..202a5090 100644 --- a/Test/WorkerDaemon/PipeWorkerProcess.php +++ b/Test/WorkerDaemon/PipeWorkerProcess.php @@ -22,9 +22,9 @@ public function loopHandle() }); }, $a, $b); - var_dump('start start'); - sleep(15); - var_dump("end end end "); + var_dump('start start, pid='.$this->getPid()); + sleep(10); + var_dump("end end end,pid=".$this->getPid()); } // public function run()