This commit is contained in:
2021-02-24 14:53:43 +08:00
parent cfda39ebdd
commit 908ef53c88
+1 -3
View File
@@ -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();
}