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 { ...@@ -54,9 +54,9 @@ public class HazelcastConfigCacher extends HazelcastConfig {
JoinConfig join = network.getJoin(); JoinConfig join = network.getJoin();
join.getMulticastConfig().setEnabled(true); join.getMulticastConfig().setEnabled(true);
TcpIpConfig tcpIpConfig = join.getTcpIpConfig(); // TcpIpConfig tcpIpConfig = join.getTcpIpConfig();
tcpIpConfig.setEnabled(true); // tcpIpConfig.setEnabled(true);
tcpIpConfig.setConnectionTimeoutSeconds(20); // tcpIpConfig.setConnectionTimeoutSeconds(20);
// See if there's a local HZ running // See if there's a local HZ running
// tcpIpConfig.addMember("127.0.0.1:5702"); // tcpIpConfig.addMember("127.0.0.1:5702");
......
Supports Markdown
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