From d025fb6f78eb161b4729996944c239004f68f808 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 6 Jan 2020 16:01:23 +0800 Subject: [PATCH] Update Queue.php --- app/admin/controller/Queue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }