From afde0cb6803631b77eca795f198fa7b73960fcc2 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 28 Dec 2021 12:51:29 +0100 Subject: [PATCH] fix: increase connection pool --- app/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/init.php b/app/init.php index 5f593e702a..b1ea6391ec 100644 --- a/app/init.php +++ b/app/init.php @@ -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; });