Fixed - setPingConnectionInterval is not propagated for single server configuration. #1455

pull/1461/head
Nikita 7 years ago
parent 2ba163a32f
commit 16368a5ed8

@ -37,6 +37,7 @@ public class SingleConnectionManager extends MasterSlaveConnectionManager {
private static MasterSlaveServersConfig create(SingleServerConfig cfg) {
MasterSlaveServersConfig newconfig = new MasterSlaveServersConfig();
newconfig.setPingConnectionInterval(cfg.getPingConnectionInterval());
newconfig.setSslEnableEndpointIdentification(cfg.isSslEnableEndpointIdentification());
newconfig.setSslProvider(cfg.getSslProvider());
newconfig.setSslTruststore(cfg.getSslTruststore());

Loading…
Cancel
Save