Do not change the server_threshold from the SNMP Server, since that
affects other servers too!
(cherry picked from commit ce9e337cb3
)
This commit is contained in:
parent
b87e359050
commit
73636d1422
|
@ -120,9 +120,6 @@ sub run ($) {
|
||||||
# Set the initial date for storm protection.
|
# Set the initial date for storm protection.
|
||||||
$pa_config->{"__storm_ref__"} = time();
|
$pa_config->{"__storm_ref__"} = time();
|
||||||
|
|
||||||
# This is the only server that reads from disk instead of from the DB. No need for a higher server threshold.
|
|
||||||
$pa_config->{'server_threshold'} = 1;
|
|
||||||
|
|
||||||
$self->setNumThreads ($pa_config->{'snmpconsole_threads'});
|
$self->setNumThreads ($pa_config->{'snmpconsole_threads'});
|
||||||
$self->SUPER::run (\@TaskQueue, \%PendingTasks, $Sem, $TaskSem);
|
$self->SUPER::run (\@TaskQueue, \%PendingTasks, $Sem, $TaskSem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue