From 561e2fb6e26bc272550dd52684f0733afa0673e9 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 10 Jan 2019 11:18:34 -0600 Subject: [PATCH] Increase snmp execution time limit to 10 minutes This is needed for discovery in some cases (mostly the arp-table module) --- includes/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/common.php b/includes/common.php index 120f58a40d..7ad28abf68 100644 --- a/includes/common.php +++ b/includes/common.php @@ -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 = [