From cae17300d5ad195a55ce8c54bf7d84b8d4467092 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 12 Mar 2008 09:39:58 +0000 Subject: [PATCH] Create packages list when server db is ready, not before. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9701 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 0e2f33986..2da5c1e56 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -937,7 +937,6 @@ sub _start { &trigger_db_loop($kernel); $kernel->yield('create_fai_server_db', $fai_server_tn ); $kernel->yield('create_fai_release_db', $fai_release_tn ); - $kernel->yield('create_packages_list_db'); } sub next_task { @@ -1449,8 +1448,13 @@ sub create_fai_server_db { } daemon_log("INFO: create_fai_server_db: finished", 5); } + + # Now we can create the packages list + $kernel->yield('create_packages_list_db'); + return $result; } + sub run_create_fai_server_db { my ($session, $heap, $table_name) = @_[SESSION, HEAP, ARG0]; my $task = POE::Wheel::Run->new( -- 2.30.2