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