From 1d0bde520826e620082a9433c1db0329e78de673 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 26 Apr 2007 11:53:45 +0000
Subject: [PATCH] Use the constant defined in Utils to set the timeout of the connection.
---
opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java b/opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java
index b7f5e1e..81ab1c9 100644
--- a/opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java
+++ b/opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java
@@ -283,7 +283,8 @@
}
if (ctx == null)
{
- ctx = Utils.createLdapContext(ldapUrl, dn, pwd, 3000, null);
+ ctx = Utils.createLdapContext(ldapUrl, dn, pwd,
+ Utils.getDefaultLDAPTimeout(), null);
}
return ctx;
}
--
Gitblit v1.10.0