Merge branch 'ent-6224-10534-fallo-de-dataserver_lifo' into 'develop'

Always unlock, since FIFO mode may lock now.

See merge request artica/pandorafms!3430
This commit is contained in:
Alejandro Fraguas 2020-09-03 13:42:03 +02:00
commit d88efc39da
1 changed files with 0 additions and 2 deletions

View File

@ -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 ();