From ed5de525aaab8dbef0e984b037b1203d6dbb53bc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 18 Nov 2021 16:50:03 +0100 Subject: [PATCH] :paperclip: Increase default db pool size to 50. --- backend/src/app/db.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/db.clj b/backend/src/app/db.clj index 8925c12d0..60347cd24 100644 --- a/backend/src/app/db.clj +++ b/backend/src/app/db.clj @@ -113,7 +113,7 @@ (.setIdleTimeout 120000) ;; 2min (.setMaxLifetime 1800000) ;; 30min (.setMinimumIdle (:min-pool-size cfg 0)) - (.setMaximumPoolSize (:max-pool-size cfg 30)) + (.setMaximumPoolSize (:max-pool-size cfg 50)) (.setConnectionInitSql initsql) (.setInitializationFailTimeout -1))