From: janw Date: Wed, 6 Feb 2008 11:04:27 +0000 (+0000) Subject: Increased waiting time. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df19b9ed1a250a1663b83a27603cf1badd3275f3;p=gosa.git Increased waiting time. Corrected is_connected check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8756 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index d90279583..787b9bdd5 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -866,10 +866,14 @@ sub register_at_gosa_si_server { # send xml hash to server with general server passwd my $res = &send_msg_hash2address($register_hash, $server, $default_server_key); - last; + if($res) { + last; + } else { + next; + } } daemon_log("waiting for msg 'register_at_gosa_si_server'",1); - $kernel->delay_set('register_at_gosa_si_server',2); + $kernel->delay_set('register_at_gosa_si_server',180); # clear old settings and set it again $kernel->delay_set('trigger_new_key', $server_key_lifetime); }