mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-19 02:11:55 +02:00
fixed cp property
This commit is contained in:
parent
80f0d290bb
commit
945b24990a
@ -121,7 +121,7 @@ public class MySQL implements DataSource {
|
|||||||
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
||||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
||||||
config.addDataSourceProperty("autoReconnect", true);
|
config.addDataSourceProperty("autoReconnect", true);
|
||||||
config.addDataSourceProperty("initializationFailFast", true);
|
config.setInitializationFailFast(false);
|
||||||
ds = new HikariDataSource(config);
|
ds = new HikariDataSource(config);
|
||||||
ConsoleLogger.info("Connection pool ready");
|
ConsoleLogger.info("Connection pool ready");
|
||||||
}
|
}
|
||||||
@ -912,7 +912,7 @@ public class MySQL implements DataSource {
|
|||||||
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
||||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
||||||
config.addDataSourceProperty("autoReconnect", true);
|
config.addDataSourceProperty("autoReconnect", true);
|
||||||
config.addDataSourceProperty("initializationFailFast", true);
|
config.setInitializationFailFast(false);
|
||||||
config.setPoolName("AuthMeMYSQLPool");
|
config.setPoolName("AuthMeMYSQLPool");
|
||||||
ds = new HikariDataSource(config);
|
ds = new HikariDataSource(config);
|
||||||
if (!reload)
|
if (!reload)
|
||||||
|
Loading…
Reference in New Issue
Block a user