From cfa2d8f8fb8e9613a742a76f34c4c5b06fb6c5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 23 Jul 2021 18:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Crontab/Crontab.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/System/Crontab/Crontab.php b/System/Crontab/Crontab.php index bd1a2552..228e7056 100644 --- a/System/Crontab/Crontab.php +++ b/System/Crontab/Crontab.php @@ -201,7 +201,7 @@ abstract class Crontab implements PipeMessage $redis->hSet(self::WAIT_END, $name_md5, static::getSerialize($this)); - call_user_func([$this, 'process'], ...$this->params); + call_user_func([$this, 'process']); $redis->hDel(self::WAIT_END, $name_md5); } catch (\Throwable $throwable) { $this->application->addError($throwable, 'throwable'); @@ -215,7 +215,6 @@ abstract class Crontab implements PipeMessage public function afterExecute() { $aot = $this->isRecover(); - var_dump($aot); if ($aot !== 999) { return; }