mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-07 12:48:03 +02:00
Change to minimum lifeTime
This commit is contained in:
parent
e33ebb7379
commit
3bcaa3f12b
@ -122,7 +122,7 @@ public class MySQL implements DataSource {
|
||||
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
||||
config.addDataSourceProperty("autoReconnect", true);
|
||||
config.setMaxLifetime(12000);
|
||||
config.setMaxLifetime(30000);
|
||||
config.setInitializationFailFast(false);
|
||||
ds = new HikariDataSource(config);
|
||||
ConsoleLogger.info("Connection pool ready");
|
||||
|
Loading…
Reference in New Issue
Block a user