From a733cedcf54ab0b979f7f1b762d086e49bd59d72 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 27 Oct 2009 09:34:04 +0000
Subject: [PATCH] Fix for issue 4316 : Replication takes too much time to shutdown

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

diff --git a/opends/src/server/org/opends/server/replication/server/ServerHandler.java b/opends/src/server/org/opends/server/replication/server/ServerHandler.java
index 22bb668..22adad3 100644
--- a/opends/src/server/org/opends/server/replication/server/ServerHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/ServerHandler.java
@@ -375,7 +375,7 @@
 
       writer = new ServerWriter(session, serverId,
           this, replicationServerDomain);
-      reader = new ServerReader(session, serverId, this);
+      reader = new ServerReader(session, this);
 
       reader.start();
       writer.start();
@@ -1421,6 +1421,6 @@
   public void doStop()
   {
     if (replicationServerDomain!=null)
-      replicationServerDomain.stopServer(this);
+      replicationServerDomain.stopServer(this, false);
   }
 }

--
Gitblit v1.10.0