Increase leak detection threshold

This commit is contained in:
games647
2023-04-12 09:08:30 +02:00
parent 55adbaa58b
commit 0214827266

View File

@ -56,7 +56,7 @@ public class MySQLStorage extends SQLStorage {
config.addDataSourceProperty("requireSSL", useSSL);
//enable leak detection of holding connections
config.setLeakDetectionThreshold(2000);
config.setLeakDetectionThreshold(10_000);
// adding paranoid, hides hostname, username, version and so
// could be useful for hiding server details