This commit is contained in:
2021-07-23 18:13:44 +08:00
parent 0b846865c9
commit 4a3b74950e
+1 -1
View File
@@ -252,7 +252,7 @@ abstract class Crontab implements PipeMessage
if (!$this->isMaxExecute()) { if (!$this->isMaxExecute()) {
return 999; return 999;
} }
call_user_func([$this, 'max_execute'], ...$this->getParams()); call_user_func([$this, 'max_execute']);
return $redis->del('crontab:' . $crontab_name); return $redis->del('crontab:' . $crontab_name);
} catch (\Throwable $throwable) { } catch (\Throwable $throwable) {
return $this->application->addError($throwable, 'throwable'); return $this->application->addError($throwable, 'throwable');