From fb97c373ff26e11a77fc7f433382246149d56d4f Mon Sep 17 00:00:00 2001 From: fermin831 Date: Tue, 14 Aug 2018 11:43:14 +0200 Subject: [PATCH] Fixed replication events and update cache problems --- pandora_server/bin/pandora_server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/bin/pandora_server b/pandora_server/bin/pandora_server index 408472c113..f26cf3d016 100755 --- a/pandora_server/bin/pandora_server +++ b/pandora_server/bin/pandora_server @@ -111,10 +111,10 @@ sub pandora_startup () { start_server_thread(\&pandora_process_policy_queue, [\%Config]) if ($Config{'__enterprise_enabled'} == 1 && $Config{'policy_manager'} == 1); # Start the event replication thread. Do not start with start_server_thread, this thread may exit on its own. - threads->create(\&pandora_process_event_replication, [\%Config]) if($Config{'__enterprise_enabled'} == 1 && $Config{'event_replication'} == 1); + threads->create(\&pandora_process_event_replication, \%Config) if($Config{'__enterprise_enabled'} == 1 && $Config{'event_replication'} == 1); # Update the agent cache. Do not start with start_server_thread, this thread updates the agent cache and exits. - threads->create(\&enterprise_hook, ['update_agent_cache', [\%Config]])->detach() if ($Config{'node_metaconsole'} == 1); + threads->create(\&enterprise_hook, 'update_agent_cache', [\%Config])->detach() if ($Config{'node_metaconsole'} == 1); pandora_audit (\%Config, $Config{'rb_product_name'} . ' Server Daemon starting', 'SYSTEM', 'System', $DBH);