From 908ef53c88b9ff0c17a368d9d441794075fb481c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 24 Feb 2021 14:53:43 +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 --- System/Pool/ObjectPool.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/System/Pool/ObjectPool.php b/System/Pool/ObjectPool.php index 4c089d5d..51a4b299 100644 --- a/System/Pool/ObjectPool.php +++ b/System/Pool/ObjectPool.php @@ -34,9 +34,7 @@ class ObjectPool extends \Snowflake\Abstracts\Pool return $config; } - $className = hash('sha384', $config); - - $object = $this->getFromChannel($className, [$config, $construct]); + $object = $this->getFromChannel($config, [$config, $construct]); if (method_exists($object, 'clean')) { $object->clean(); }