mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
Lower MySQL leak detection threshold (#2023)
This commit is contained in:
parent
cdbe21fb6f
commit
5b6effb77b
@ -121,7 +121,7 @@ public class MySQLDB extends SQLDB {
|
||||
hikariConfig.setMaximumPoolSize(1);
|
||||
}
|
||||
hikariConfig.setMaxLifetime(TimeUnit.MINUTES.toMillis(25L));
|
||||
hikariConfig.setLeakDetectionThreshold(TimeUnit.MINUTES.toMillis(10L));
|
||||
hikariConfig.setLeakDetectionThreshold(TimeUnit.SECONDS.toMillis(29L));
|
||||
|
||||
this.dataSource = new HikariDataSource(hikariConfig);
|
||||
} catch (HikariPool.PoolInitializationException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user