mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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…
x
Reference in New Issue
Block a user