Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
91fba4f5
Commit
91fba4f5
authored
Apr 14, 2017
by
Matija Obreza
Browse files
HZ TCP/IP and Multicast join can't be enabled at the same time
parent
75cc51a4
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/spring/config/HazelcastConfigCacher.java
View file @
91fba4f5
...
...
@@ -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");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment