From 20800de857e9658dc3229b7535be742a0709acb9 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 05 Jul 2011 14:37:19 +0000
Subject: [PATCH] Partial fix for OPENDJ-115: Make replication connection timeouts and various monitoring intervals configurable

---
 opends/src/server/org/opends/server/replication/service/ReplicationBroker.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
index af7bbf0..860c365 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
@@ -1179,7 +1179,7 @@
       socket = new Socket();
       socket.setReceiveBufferSize(1000000);
       socket.setTcpNoDelay(true);
-      socket.connect(serverAddr, 500);
+      socket.connect(serverAddr, ReplSessionSecurity.CONNECTION_TIMEOUT);
       localSession = replSessionSecurity.createClientSession(
           socket, ReplSessionSecurity.HANDSHAKE_TIMEOUT);
       boolean isSslEncryption = replSessionSecurity

--
Gitblit v1.10.0