From 850092f35763c1f1f98312c7225f17c9009abcf3 Mon Sep 17 00:00:00 2001 From: Yurun Date: Fri, 22 Oct 2021 16:45:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E4=B8=80=E4=BA=9B=20Bean=20=E7=B1=BB?= =?UTF-8?q?=20recursion=20=E8=AE=BE=E4=B8=BA=20false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Cron/Scheduler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cron/Scheduler.php b/src/Cron/Scheduler.php index a3cd1a9..028dcad 100644 --- a/src/Cron/Scheduler.php +++ b/src/Cron/Scheduler.php @@ -22,7 +22,7 @@ use Yurun\Swoole\CoPool\Interfaces\ITaskParam; /** - * @Bean("CronScheduler") + * @Bean(name="CronScheduler", recursion=false) * * 定时任务调度器 */