Commit 91fba4f5 authored by Matija Obreza's avatar Matija Obreza
Browse files

HZ TCP/IP and Multicast join can't be enabled at the same time

parent 75cc51a4
......@@ -54,9 +54,9 @@ public class HazelcastConfigCacher extends HazelcastConfig {
JoinConfig join = network.getJoin();
join.getMulticastConfig().setEnabled(true);
TcpIpConfig tcpIpConfig = join.getTcpIpConfig();
tcpIpConfig.setEnabled(true);
tcpIpConfig.setConnectionTimeoutSeconds(20);
// TcpIpConfig tcpIpConfig = join.getTcpIpConfig();
// tcpIpConfig.setEnabled(true);
// tcpIpConfig.setConnectionTimeoutSeconds(20);
// See if there's a local HZ running
// tcpIpConfig.addMember("127.0.0.1:5702");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment