From b34fb383173a4ef09d6cf0139b3a60d5e408f149 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Fri, 31 Jan 2025 20:48:05 -0700 Subject: [PATCH] Extend timeout for zkg info to 120s --- cronjob/bro-pkg-web-updater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronjob/bro-pkg-web-updater.php b/cronjob/bro-pkg-web-updater.php index bb4289a..4e6fcb4 100755 --- a/cronjob/bro-pkg-web-updater.php +++ b/cronjob/bro-pkg-web-updater.php @@ -16,7 +16,7 @@ function fatal($msg) { exit(1); } -function timeout_exec($cmd, &$output, &$retval, $timeout=30) { +function timeout_exec($cmd, &$output, &$retval, $timeout=120) { $timeout_cmd = "timeout $timeout $cmd"; exec($timeout_cmd, $output, $retval); @@ -25,7 +25,7 @@ function timeout_exec($cmd, &$output, &$retval, $timeout=30) { } } -function required_exec($cmd, $timeout=30) { +function required_exec($cmd, $timeout=120) { $output=null; $retval=null; timeout_exec($cmd, $output, $retval, $timeout);