增加指令状态兼容提示

This commit is contained in:
Anyon 2020-02-11 17:38:25 +08:00
parent 7e40c99219
commit fede7e3648

View File

@ -51,6 +51,7 @@ class Queue extends Controller
$this->command = ProcessService::instance()->think('xtask:start');
$this->listen = preg_match('/process.*?\d+.*?running/', $this->message, $attr);
} catch (\Exception $exception) {
$this->listen = false;
$this->message = $exception->getMessage();
}
$this->title = '系统任务管理';