diff --git a/System/Crontab/Consumer.php b/System/Crontab/Consumer.php index 0093161a..e9fa19ff 100644 --- a/System/Crontab/Consumer.php +++ b/System/Crontab/Consumer.php @@ -43,9 +43,9 @@ class Consumer extends Process { $crontab = $this->channel->pop(-1); - var_dump($crontab); - - $this->dispatch($crontab); + go(function () use ($crontab) { + $this->dispatch($crontab); + }); $this->popChannel(); }