From ed27869e40b09648e2f5ab1ea4e9199969f87ad4 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Wed, 10 Dec 2014 12:06:13 +0000 Subject: [PATCH] changed to always reconnect if fails while establishing a connection --- src/main/java/net/openhft/chronicle/map/TcpReplicator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/TcpReplicator.java b/src/main/java/net/openhft/chronicle/map/TcpReplicator.java index efec51608..90409177e 100644 --- a/src/main/java/net/openhft/chronicle/map/TcpReplicator.java +++ b/src/main/java/net/openhft/chronicle/map/TcpReplicator.java @@ -413,8 +413,8 @@ final class TcpReplicator extends AbstractChannelReplicator implements Closeable // so these nodes will establish the connection when they come back up, // hence under these circumstances, polling a dropped node to attempt to reconnect is no-longer // required as the remote node will establish the connection its self on startup. - if (replicationConfig.autoReconnectedUponDroppedConnection()) - attached.connector.connect(); + + attached.connector.connect(); throw e; }