This commit is contained in:
shimon 2024-10-14 16:18:01 +03:00
parent d0481482ae
commit 1373d62c52

View file

@ -945,9 +945,7 @@ $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) {