This commit is contained in:
2023-02-13 14:35:00 +08:00
parent adffcf1852
commit 86e3ac485c
+1
View File
@@ -100,6 +100,7 @@ class Connection extends Component
if (!$this->pool->hasChannel($name)) {
$this->pool->initConnections($name, $config['pool']['max']);
}
var_dump(Context::getAllContext());
if (!Context::hasContext($name)) {
return Context::setContext($name, $this->pool->get($name, $this->generate($config)));
} else {