From 9edc32de13a504a0dd54badbcba80db4bb5d5140 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 24 May 2023 07:57:36 -0400 Subject: [PATCH] Pool - 10 minute idle; 60 min lifetime. --- src/engine/gameManager/DbManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/gameManager/DbManager.java b/src/engine/gameManager/DbManager.java index 5c7f6402..9d6feaf0 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -308,6 +308,7 @@ public enum DbManager { config.setPassword(ConfigManager.MB_DATABASE_PASS.getValue()); config.addDataSourceProperty("minimumIdle", "5"); + config.addDataSourceProperty("idleTimeout", "600000"); config.addDataSourceProperty("maxLifetime", "3600000"); config.addDataSourceProperty("characterEncoding", "utf8");