mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
+1
-1
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user