From 81b522eadfdd4f2a1c93eeded46a6e891c777518 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 22 Jun 2009 08:47:56 +0000
Subject: [PATCH] Be consistent with the timeouts used in DirectoryServer and WaitForFileDelete.  Their default value must be the same.

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 0197a26..736afbe 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -775,6 +775,10 @@
   // if it does not exist in the common servicetag registry.
   private ServiceTagRegistration serviceTagRegistry;
 
+  /**
+   * The default timeout used to start the server in detach mode.
+   */
+  public static int DEFAULT_TIMEOUT = 200;
 
   /**
    * Creates a new instance of the Directory Server.  This will allow only a
@@ -9175,7 +9179,8 @@
       // Not used in this class, but required by the start-ds script
       // (see issue #3814)
       timeout = new IntegerArgument("timeout", 't', "timeout", true, false,
-                                    true, INFO_SECONDS_PLACEHOLDER.get(), 60,
+                                    true, INFO_SECONDS_PLACEHOLDER.get(),
+                                    DEFAULT_TIMEOUT,
                                     null, true, 0, false,
                                     0, INFO_DSCORE_DESCRIPTION_TIMEOUT.get());
       argParser.addArgument(timeout);

--
Gitblit v1.10.0