Add extra Hikari flag

This commit is contained in:
Luck 2016-10-16 17:24:02 +01:00
parent 13fbc7dd39
commit 165c5610c3
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -69,6 +69,7 @@ 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);