diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 2a4c44ab..ed28d118 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -165,7 +165,7 @@ io.papermc.paper paper-api - 1.19-R0.1-SNAPSHOT + 1.19.4-R0.1-SNAPSHOT provided diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/ProtocolLibListener.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/ProtocolLibListener.java index f963be3a..ac9cb7ab 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/ProtocolLibListener.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/ProtocolLibListener.java @@ -250,7 +250,6 @@ public class ProtocolLibListener extends PacketAdapter { } } - plugin.getLog().trace("GameProfile {} with {} connecting", sessionKey, username); packetEvent.getAsyncMarker().incrementProcessingDelay(); diff --git a/core/pom.xml b/core/pom.xml index 06f1701a..6c5bf943 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -70,7 +70,7 @@ com.zaxxer HikariCP - 4.0.3 + 5.0.2-SNAPSHOT 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 135046bf..7547e09a 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 @@ -55,6 +55,9 @@ public class MySQLStorage extends SQLStorage { config.addDataSourceProperty("useSSL", useSSL); config.addDataSourceProperty("requireSSL", useSSL); + //enable leak detection of holding connections + config.setLeakDetectionThreshold(2000); + // adding paranoid, hides hostname, username, version and so // could be useful for hiding server details config.addDataSourceProperty("paranoid", true);