From 07b337f3f158709cd858660cd90688f0318a889b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 22 May 2023 10:32:15 -0400 Subject: [PATCH] Pool size fixed --- src/engine/gameManager/DbManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/DbManager.java b/src/engine/gameManager/DbManager.java index 17d01365..c5271801 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -298,7 +298,7 @@ public enum DbManager { HikariConfig config = new HikariConfig(); - config.setMaximumPoolSize(Runtime.getRuntime().availableProcessors() * 2); + config.setMaximumPoolSize(50); config.setJdbcUrl("jdbc:mysql://" + ConfigManager.MB_DATABASE_ADDRESS.getValue() + ":" + ConfigManager.MB_DATABASE_PORT.getValue() + "/" +