Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-06 20:49:33 +0200
committerErich Eckner <git@eckner.net>2020-05-06 20:49:40 +0200
commit6ab1a1da8021dac0474bb10de1bfdda6e9b69919 (patch)
tree4b07ded2511566a9ae13576764a67e5933f50c08
parent3dee4e49d5080403d459972e073e0116a91276ec (diff)
packages/pkginfo.php: cache reachability for 30 seconds instead of 5 minutes
-rw-r--r--packages/pkginfo.php2
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;