This commit is contained in:
shimon 2024-10-14 10:36:52 +03:00
parent 051d6e580c
commit d0481482ae

View file

@ -945,7 +945,9 @@ $register->set('pools', function () {
},
default => throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Invalid scheme'),
};
var_dump($poolSize);
$poolSize = $poolSize/8;
var_dump($poolSize);
$pool = new Pool($name, $poolSize, function () use ($type, $resource, $dsn) {
// Get Adapter
switch ($type) {