From 4a3b74950e46db84c95fb5275499248322d52702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 23 Jul 2021 18:13:44 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Crontab/Crontab.php b/System/Crontab/Crontab.php index e9af42f4..28cc2e5e 100644 --- a/System/Crontab/Crontab.php +++ b/System/Crontab/Crontab.php @@ -252,7 +252,7 @@ abstract class Crontab implements PipeMessage if (!$this->isMaxExecute()) { return 999; } - call_user_func([$this, 'max_execute'], ...$this->getParams()); + call_user_func([$this, 'max_execute']); return $redis->del('crontab:' . $crontab_name); } catch (\Throwable $throwable) { return $this->application->addError($throwable, 'throwable');