Merge branch 'ent-9968-proceso-snmptrapd-se-muere-a-los-pocos-segundos-de-iniciarse-en-v766' into 'develop'
Control the destructor of the SNMPServer when running parallel queries. See merge request artica/pandorafms!5312
This commit is contained in:
commit
e3c46ab7d6
|
@ -1041,6 +1041,7 @@ sub get_db_rows_parallel ($$;@) {
|
||||||
no warnings 'redefine';
|
no warnings 'redefine';
|
||||||
local *PandoraFMS::ProducerConsumerServer::DESTROY = sub {};
|
local *PandoraFMS::ProducerConsumerServer::DESTROY = sub {};
|
||||||
local *PandoraFMS::BlockProducerConsumerServer::DESTROY = sub {};
|
local *PandoraFMS::BlockProducerConsumerServer::DESTROY = sub {};
|
||||||
|
local *PandoraFMS::SNMPServer::DESTROY = sub {};
|
||||||
|
|
||||||
# Query the nodes.
|
# Query the nodes.
|
||||||
foreach my $node (@{$nodes}) {
|
foreach my $node (@{$nodes}) {
|
||||||
|
|
Loading…
Reference in New Issue