mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Always unlock, since FIFO mode may lock now.
This commit is contained in:
parent
86495c03d0
commit
4e32d4efe0
@ -1114,8 +1114,6 @@ sub agent_lock {
|
|||||||
sub agent_unlock {
|
sub agent_unlock {
|
||||||
my ($pa_config, $agent_name) = @_;
|
my ($pa_config, $agent_name) = @_;
|
||||||
|
|
||||||
return if ($pa_config->{'dataserver_lifo'} == 1);
|
|
||||||
|
|
||||||
$AgentSem->down ();
|
$AgentSem->down ();
|
||||||
delete ($Agents{$agent_name});
|
delete ($Agents{$agent_name});
|
||||||
$AgentSem->up ();
|
$AgentSem->up ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user