mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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';
|
||||
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