From 3550bbe68b8ca435e2da501a9d8335c646af8596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 14 Nov 2024 11:28:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Worker=20=E5=A2=9E=E5=8A=A0=20$statusFil?= =?UTF-8?q?e=20=E5=8F=98=E9=87=8F=E9=BB=98=E8=AE=A4=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/think-plugs-worker/src/command/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/think-plugs-worker/src/command/Worker.php b/plugin/think-plugs-worker/src/command/Worker.php index 033fc4ebe..c27eadeca 100644 --- a/plugin/think-plugs-worker/src/command/Worker.php +++ b/plugin/think-plugs-worker/src/command/Worker.php @@ -88,7 +88,7 @@ class Worker extends Command // 静态属性设置 foreach ($this->config['worker'] ?? [] as $name => $value) { - if (in_array($name, ['daemonize', 'stdoutFile', 'pidFile', 'logFile'])) { + if (in_array($name, ['daemonize', 'statusFile', 'stdoutFile', 'pidFile', 'logFile'])) { Workerman::${$name} = $value; unset($this->config['worker'][$name]); }