Commit 75cc51a4 authored by Matija Obreza's avatar Matija Obreza
Browse files

Enable HZ multicast

parent 41d1d8b0
......@@ -53,12 +53,12 @@ public class HazelcastConfigCacher extends HazelcastConfig {
network.setPortAutoIncrement(true);
JoinConfig join = network.getJoin();
join.getMulticastConfig().setEnabled(false);
join.getMulticastConfig().setEnabled(true);
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");
// tcpIpConfig.addMember("127.0.0.1:5702");
configureHazelcast(cfg);
......
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