From adcf7ca9279549d4737f42ba949797e410cf493f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 23 May 2023 14:06:15 -0400 Subject: [PATCH] Updated Hikari pool configuration. --- 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 0a90cb33..e8952fee 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -307,7 +307,7 @@ public enum DbManager { config.setPassword(ConfigManager.MB_DATABASE_PASS.getValue()); config.addDataSourceProperty("minimumIdle", "5"); - config.addDataSourceProperty("idleTimeout", "120000"); + config.addDataSourceProperty("maxLifetime", "3600000"); config.addDataSourceProperty("characterEncoding", "utf8");