From 080f10a054f01fb011f728fac3a7210f2920e924 Mon Sep 17 00:00:00 2001 From: psc Date: Thu, 29 Apr 2010 11:32:21 +0000 Subject: [PATCH] Apply fix for #4070 When server connection fails while trying to send a message use post to schedule the register_at_gosa_si_server event in the proper session, otherwise failover will not work properly under some circumstances. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17930 594d385d-05f5-0310-b6e9-bd551577e9d8 --- trunk/gosa-si/gosa-si-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-si/gosa-si-client b/trunk/gosa-si/gosa-si-client index db4773b46..481ea3e1e 100755 --- a/trunk/gosa-si/gosa-si-client +++ b/trunk/gosa-si/gosa-si-client @@ -468,7 +468,7 @@ sub send_msg_to_target { if ($REGISTERED == 1) { $REGISTERED = 0; # if server is not available, cause reregistering daemon_log("INFO: cause reregistering at gosa-si-server", 5); - $global_kernel->yield('register_at_gosa_si_server'); + $global_kernel->post('client_session', 'register_at_gosa_si_server'); } $error++; -- 2.30.2