diff options
author | Erich Eckner <git@eckner.net> | 2020-05-06 20:49:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-06 20:49:40 +0200 |
commit | 6ab1a1da8021dac0474bb10de1bfdda6e9b69919 (patch) | |
tree | 4b07ded2511566a9ae13576764a67e5933f50c08 /packages | |
parent | 3dee4e49d5080403d459972e073e0116a91276ec (diff) | |
download | archweb32-6ab1a1da8021dac0474bb10de1bfdda6e9b69919.tar.xz |
packages/pkginfo.php: cache reachability for 30 seconds instead of 5 minutes
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pkginfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |