From 6ab1a1da8021dac0474bb10de1bfdda6e9b69919 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 May 2020 20:49:33 +0200 Subject: packages/pkginfo.php: cache reachability for 30 seconds instead of 5 minutes --- packages/pkginfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pkginfo.php b/packages/pkginfo.php index b6c22f3..ce55c57 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -41,7 +41,7 @@ require_once BASE . "/lib/style.php"; $pkgapi_reachable = 'YES'; else $pkgapi_reachable = 'NO'; - apcu_store('pkgapi_reachable', $pkgapi_reachable, 300); + apcu_store('pkgapi_reachable', $pkgapi_reachable, 30); } if ($pkgapi_reachable == 'YES') $skip_json_checks = false; -- cgit v1.2.3-70-g09d2