From 02148272665a0290c33f9ad2fe5debf52a66f365 Mon Sep 17 00:00:00 2001 From: games647 Date: Wed, 12 Apr 2023 09:08:30 +0200 Subject: [PATCH] Increase leak detection threshold --- .../github/games647/fastlogin/core/storage/MySQLStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/github/games647/fastlogin/core/storage/MySQLStorage.java b/core/src/main/java/com/github/games647/fastlogin/core/storage/MySQLStorage.java index d7b55db2..d7fc75c2 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/storage/MySQLStorage.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/storage/MySQLStorage.java @@ -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