From 2a480a37cb9491ae54d0dc73df293cdbbdf66939 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 4 Jun 2008 14:39:20 +0000 Subject: [PATCH] * gosa-si-server-nobus * under construction git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11220 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- gosa-si/server/events/clMessages.pm | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 2aa5404fb..acd69d35d 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1801,7 +1801,7 @@ sub watch_for_next_tasks { my $res = $incoming_db->exec_statement($sql); } - $kernel->delay_set('watch_for_next_tasks', 1); + $kernel->delay_set('watch_for_next_tasks', 0.1); } diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index 02104d105..0faea11c1 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -331,7 +331,10 @@ sub TASKBEGIN { $header =~ s/CLMSG_//g; # TASKBEGIN eq finish or faiend - if (($content eq 'finish') || ($content eq 'faiend')){ + if (($content eq 'finish') + || ($content eq 'faiend') + || ($content eq 'savelog') + ) { my $sql_statement = "UPDATE $main::job_queue_tn ". "SET status='done', result='$header "."$content' ". "WHERE status='processing' AND macaddress LIKE '$macaddress'"; @@ -343,7 +346,10 @@ sub TASKBEGIN { &main::change_fai_state('localboot', \@{$msg_hash->{'macaddress'}}, $session_id); # TASKBEGIN eq chboot - } elsif ($content eq 'chboot') { + } elsif (($content eq 'chboot') + || ($content eq 'test') + || ($content eq 'confdir') + ) { # just ignor this client message # do nothing -- 2.30.2