mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Add extra Hikari flag
This commit is contained in:
parent
13fbc7dd39
commit
165c5610c3
@ -69,6 +69,7 @@ public class MySQLDatastore extends SQLDatastore {
|
|||||||
config.addDataSourceProperty("cachePrepStmts", true);
|
config.addDataSourceProperty("cachePrepStmts", true);
|
||||||
config.addDataSourceProperty("prepStmtCacheSize", 250);
|
config.addDataSourceProperty("prepStmtCacheSize", 250);
|
||||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", 2048);
|
config.addDataSourceProperty("prepStmtCacheSqlLimit", 2048);
|
||||||
|
config.addDataSourceProperty("leakDetectionThreshold", 5000);
|
||||||
config.addDataSourceProperty("useServerPrepStmts", true);
|
config.addDataSourceProperty("useServerPrepStmts", true);
|
||||||
config.addDataSourceProperty("cacheCallableStmts", true);
|
config.addDataSourceProperty("cacheCallableStmts", true);
|
||||||
config.addDataSourceProperty("alwaysSendSetIsolation", false);
|
config.addDataSourceProperty("alwaysSendSetIsolation", false);
|
||||||
|
Loading…
Reference in New Issue
Block a user