Browse Source

Leak detection threshold set to 5s.

master
MagicBot 2 years ago
parent
commit
c04bd92c23
  1. 1
      src/engine/gameManager/DbManager.java

1
src/engine/gameManager/DbManager.java

@ -309,6 +309,7 @@ public enum DbManager { @@ -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

Loading…
Cancel
Save