From 21c91d93f8566bc76063b59bb10a62602495dc95 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 26 Mar 2021 01:42:15 +0800 Subject: [PATCH] modify --- System/Crontab/Consumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Crontab/Consumer.php b/System/Crontab/Consumer.php index d0388951..c51c2357 100644 --- a/System/Crontab/Consumer.php +++ b/System/Crontab/Consumer.php @@ -29,7 +29,7 @@ class Consumer extends Process $process->name('Crontab consumer'); $this->channel = new Coroutine\Channel(2000); - Coroutine\go(function () { + go(function () { $this->popChannel(); }); $this->tick($process);