Increase snmp execution time limit to 10 minutes

This is needed for discovery in some cases (mostly the arp-table module)
This commit is contained in:
Tony Murray
2019-01-10 11:18:34 -06:00
parent 98f75bd9ce
commit 561e2fb6e2
+1 -1
View File
@@ -86,7 +86,7 @@ function external_exec($command)
global $debug, $vdebug;
$proc = new \Symfony\Component\Process\Process($command);
$proc->setTimeout(600);
$proc->setTimeout(Config::get('snmp.exec_timeout', 1200));
if ($debug && !$vdebug) {
$patterns = [