Code

set waiting time between connection attempt to 0.1 sec
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 May 2009 14:06:35 +0000 (14:06 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 May 2009 14:06:35 +0000 (14:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13664 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 43ca76ccbd9cc0f52204eb3880e5ea1c51b31ab0..dd816bd3b6b401b7a45fb61360a8d4d38bcd76a6 100755 (executable)
@@ -2173,7 +2173,7 @@ get_handle:
        my $ldap_handle = Net::LDAP->new( $ldap_uri );
        if (not ref $ldap_handle) {
                daemon_log("$session_id ERROR: Connection to LDAP URI '$ldap_uri' failed! Retrying!", 1);
-               usleep(1000);
+               usleep(100000);
                goto get_handle;
        } else {
                daemon_log("$session_id DEBUG: Connection to LDAP URI '$ldap_uri' established.", 6);