From bd9d80bce2b6e9a2f5d095da5a3381d509260a26 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 30 Jul 2007 15:48:04 +0000
Subject: [PATCH] Increase the number of tries when we initialize the ADS from 1 to 5.

---
 opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
index 726d8af..34e69fb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -1722,7 +1722,7 @@
           Thread.sleep(3000);
         }
         catch (Throwable t) {}
-        int nTries = 4;
+        int nTries = 5;
         boolean initDone = false;
         while (!initDone)
         {
@@ -1989,7 +1989,7 @@
                 getMsg("progress-initializing-ads")));
 
             int replicationId = replica.getReplicationId();
-            int nTries = 1;
+            int nTries = 5;
             boolean initDone = false;
             while (!initDone)
             {

--
Gitblit v1.10.0