Skip to content

Commit

Permalink
(issue #29) disabled cluster multicast
Browse files Browse the repository at this point in the history
  • Loading branch information
bluestreak01 committed Jan 21, 2015
1 parent 45cba78 commit c330e1e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ private void up() throws JournalNetworkException {

server = new JournalServer(new ServerConfig() {{
setHostname(thisNode().getAddress());
setEnableMulticast(false);
}}, factory, null, thisNode().getId());

for (int i = 0, writersSize = writers.size(); i < writersSize; i++) {
Expand Down Expand Up @@ -149,6 +150,7 @@ private ClusterNode getActiveNode() {

client = new JournalClient(new ClientConfig() {{
setHostname(node.getAddress());
setEnableMulticast(false);
}}, factory);

if (client.pingServer()) {
Expand Down

0 comments on commit c330e1e

Please sign in to comment.