From 0c631c5ea8917b5424a0c83d8a9c39e1df33351f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 7 Sep 2021 14:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Pool/Pool.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Pool/Pool.php b/core/Pool/Pool.php index 74c3e92a..57effa31 100644 --- a/core/Pool/Pool.php +++ b/core/Pool/Pool.php @@ -122,6 +122,9 @@ class Pool extends Component { $channel = $this->getChannel($name); if (!$channel->isEmpty()) { + Coroutine::defer(function () { + echo '111'; + }); $connection = $this->maxIdleQuantity($channel); if ($this->checkCanUse($name, $connection)) { return $connection;