From 318375268fffd886af5f74fd5c059d1d52c48bc8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 8 Jan 2023 22:44:11 +0100 Subject: checkVersions: cache for 1h instead of 5 minutes --- checkVersions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkVersions b/checkVersions index 9ab38bec0..a1fb11291 100755 --- a/checkVersions +++ b/checkVersions @@ -27,7 +27,7 @@ curl_it() { cache_file="${curl_cache}/${cache_file}" if ${use_cache} && \ [ -s "${cache_file}" ] && \ - [ "0$(stat -c%Y "${cache_file}")" -gt "$(($(date +%s)-300))" ] && + [ "0$(stat -c%Y "${cache_file}")" -gt "$(($(date +%s)-3600))" ] && ! grep -qiF 'access denied' "${cache_file}"; then cat "${cache_file}" return -- cgit v1.2.3-70-g09d2