From 1044ee5c0398d1db3a2c48f2b5b9f7dcd2c379b5 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 6 Oct 2014 20:24:14 +0100 Subject: [PATCH] HCOLL-134 ( release draft cut of the code so that I can test it across my network ) --- src/main/java/net/openhft/chronicle/map/NodeDiscovery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/NodeDiscovery.java b/src/main/java/net/openhft/chronicle/map/NodeDiscovery.java index b4265b0ec..5d95d4de7 100644 --- a/src/main/java/net/openhft/chronicle/map/NodeDiscovery.java +++ b/src/main/java/net/openhft/chronicle/map/NodeDiscovery.java @@ -99,7 +99,7 @@ public class NodeDiscovery { externalizable.sendBootStrap(ourHostPort); // once the count down latch is trigger we know we go something back from one of the nodes - if (countDownLatch.get().await(5, TimeUnit.MILLISECONDS)) + if (countDownLatch.get().await(50, TimeUnit.MILLISECONDS)) break; } @@ -133,7 +133,7 @@ public class NodeDiscovery { externalizable.sendBootStrap(proposedNodes); // once the count down latch is trigger we know we go something back from one of the nodes - if (countDownLatch.get().await(5, TimeUnit.MILLISECONDS)) { + if (countDownLatch.get().await(50, TimeUnit.MILLISECONDS)) { if (useAnotherIdentifier.get()) { // given that another node host proposed the same identifier, we will choose a different one. LOG.info("Another node is using identifier=" + identifier + ", " +