Control the destructor of the SNMPServer when running parallel queries.
This commit is contained in:
parent
0eead22fdf
commit
ca8bc2d29a
|
@ -1041,6 +1041,7 @@ sub get_db_rows_parallel ($$;@) {
|
|||
no warnings 'redefine';
|
||||
local *PandoraFMS::ProducerConsumerServer::DESTROY = sub {};
|
||||
local *PandoraFMS::BlockProducerConsumerServer::DESTROY = sub {};
|
||||
local *PandoraFMS::SNMPServer::DESTROY = sub {};
|
||||
|
||||
# Query the nodes.
|
||||
foreach my $node (@{$nodes}) {
|
||||
|
|
Loading…
Reference in New Issue