From 0705eefd69637bc2b2930d639a616de37aaa4c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 11 Jul 2022 16:49:32 +0800 Subject: [PATCH] modify plugin name --- kiri-engine/Pool/PoolQueue.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kiri-engine/Pool/PoolQueue.php b/kiri-engine/Pool/PoolQueue.php index 0307f25c..8362a285 100644 --- a/kiri-engine/Pool/PoolQueue.php +++ b/kiri-engine/Pool/PoolQueue.php @@ -14,11 +14,11 @@ class PoolQueue implements QueueInterface public function __construct(public int $max) { - if (Context::inCoroutine()) { - $this->queue = new Channel($this->max); - } else { +// if (Context::inCoroutine()) { +// $this->queue = new Channel($this->max); +// } else { $this->queue = new SplQueue($this->max); - } +// } }