Fixed PoolInitializationException when initializing HikariCP
This commit is contained in:
parent
085e410ab1
commit
3201a18b16
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ public class ConfigHandler extends Queue {
|
||||||
config.addDataSourceProperty("cacheServerConfiguration", "true");
|
config.addDataSourceProperty("cacheServerConfiguration", "true");
|
||||||
config.addDataSourceProperty("maintainTimeStats", "false");
|
config.addDataSourceProperty("maintainTimeStats", "false");
|
||||||
/* Disable SSL to suppress the unverified server identity warning */
|
/* Disable SSL to suppress the unverified server identity warning */
|
||||||
|
config.addDataSourceProperty("allowPublicKeyRetrieval", "true");
|
||||||
config.addDataSourceProperty("useSSL", "false");
|
config.addDataSourceProperty("useSSL", "false");
|
||||||
|
|
||||||
ConfigHandler.hikariDataSource = new HikariDataSource(config);
|
ConfigHandler.hikariDataSource = new HikariDataSource(config);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue