diff --git a/src/engine/gameManager/DbManager.java b/src/engine/gameManager/DbManager.java index 661cee8f..17d01365 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(10); + config.setMaximumPoolSize(Runtime.getRuntime().availableProcessors() * 2); config.setJdbcUrl("jdbc:mysql://" + ConfigManager.MB_DATABASE_ADDRESS.getValue() + ":" + ConfigManager.MB_DATABASE_PORT.getValue() + "/" +