Leak detection threshold set to 5s.

master
MagicBot 2023-05-20 10:30:34 -04:00
parent 0a31043bc9
commit c04bd92c23
1 changed files with 1 additions and 0 deletions

View File

@ -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