From 4e32d4efe0329a8a73a691c5509a347cd6e48043 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 2 Sep 2020 18:10:06 +0200 Subject: [PATCH] Always unlock, since FIFO mode may lock now. --- pandora_server/lib/PandoraFMS/DataServer.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/DataServer.pm b/pandora_server/lib/PandoraFMS/DataServer.pm index 44768500fc..2ce2388af0 100644 --- a/pandora_server/lib/PandoraFMS/DataServer.pm +++ b/pandora_server/lib/PandoraFMS/DataServer.pm @@ -1114,8 +1114,6 @@ sub agent_lock { sub agent_unlock { my ($pa_config, $agent_name) = @_; - return if ($pa_config->{'dataserver_lifo'} == 1); - $AgentSem->down (); delete ($Agents{$agent_name}); $AgentSem->up ();