From c04bd92c23ff95dfdfc34ba223ad678f4f488a32 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 20 May 2023 10:30:34 -0400 Subject: [PATCH] Leak detection threshold set to 5s. --- 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 9348363f..661cee8f 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -309,6 +309,7 @@ public enum DbManager { config.addDataSourceProperty("cachePrepStmts", "true"); config.addDataSourceProperty("prepStmtCacheSize", "250"); config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048"); + config.addDataSourceProperty("leakDetectionThreshold", "5000"); connectionPool = new HikariDataSource(config); // setup the connection pool