From 6252a5bc7525e910bb319824d7b0714b9771705c Mon Sep 17 00:00:00 2001 From: Luck Date: Sun, 16 Oct 2016 20:53:12 +0100 Subject: [PATCH] Fix invalid property --- .../lucko/luckperms/common/storage/methods/MySQLDatastore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/methods/MySQLDatastore.java b/common/src/main/java/me/lucko/luckperms/common/storage/methods/MySQLDatastore.java index 733f00ba..362a58ee 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/methods/MySQLDatastore.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/methods/MySQLDatastore.java @@ -69,13 +69,13 @@ public class MySQLDatastore extends SQLDatastore { config.addDataSourceProperty("cachePrepStmts", true); config.addDataSourceProperty("prepStmtCacheSize", 250); config.addDataSourceProperty("prepStmtCacheSqlLimit", 2048); - config.addDataSourceProperty("leakDetectionThreshold", 5000); config.addDataSourceProperty("useServerPrepStmts", true); config.addDataSourceProperty("cacheCallableStmts", true); config.addDataSourceProperty("alwaysSendSetIsolation", false); config.addDataSourceProperty("cacheServerConfiguration", true); config.addDataSourceProperty("elideSetAutoCommits", true); config.addDataSourceProperty("useLocalSessionState", true); + config.setLeakDetectionThreshold(5000); hikari = new HikariDataSource(config);