diff --git a/app/admin/controller/Queue.php b/app/admin/controller/Queue.php index a16cb3784..2ee83259f 100644 --- a/app/admin/controller/Queue.php +++ b/app/admin/controller/Queue.php @@ -47,7 +47,7 @@ class Queue extends Controller try { $this->command = ProcessService::instance()->think('xtask:start'); $this->message = $this->app->console->call('xtask:state')->fetch(); - $this->listen = preg_match('/主进程.*?\d+/', $this->message, $attr); + $this->listen = preg_match('/process.*?\d+.*?running/', $this->message, $attr); } catch (\Exception $exception) { $this->message = $exception->getMessage(); }