mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-02-15 01:32:33 +01:00
Fixed PoolInitializationException when initializing HikariCP
This commit is contained in:
parent
085e410ab1
commit
3201a18b16
@ -226,6 +226,7 @@ public class ConfigHandler extends Queue {
|
||||
config.addDataSourceProperty("cacheServerConfiguration", "true");
|
||||
config.addDataSourceProperty("maintainTimeStats", "false");
|
||||
/* Disable SSL to suppress the unverified server identity warning */
|
||||
config.addDataSourceProperty("allowPublicKeyRetrieval", "true");
|
||||
config.addDataSourceProperty("useSSL", "false");
|
||||
|
||||
ConfigHandler.hikariDataSource = new HikariDataSource(config);
|
||||
|
Loading…
Reference in New Issue
Block a user