1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

fix: increase connection pool

This commit is contained in:
Torsten Dittmann 2021-12-28 12:51:29 +01:00
parent 9a1937d070
commit afde0cb680

View file

@ -392,7 +392,7 @@ $register->set('dbPool', function () { // Register DB connection
->withOptions([
PDO::ATTR_ERRMODE => App::isDevelopment() ? PDO::ERRMODE_WARNING : PDO::ERRMODE_SILENT, // If in production mode, warnings are not displayed
])
, 16);
, 64);
return $pool;
});
@ -412,7 +412,7 @@ $register->set('redisPool', function () {
->withPort($redisPort)
->withAuth($redisAuth)
->withDbIndex(0)
, 16);
, 64);
return $pool;
});