summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-08 13:51:04 +0100
committerErich Eckner <git@eckner.net>2019-02-08 13:51:04 +0100
commit1da6ac89b5f863525d8bafd54f7123ff719a8149 (patch)
tree4bc52c8da6c3fc86e1ffbf6534d08e2e222f0d8c /packages
parent5b9eb821e590859c3baaac9d08b07019f383eed2 (diff)
downloadarchweb32-1da6ac89b5f863525d8bafd54f7123ff719a8149.tar.xz
close memcache connection if no longer needed
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 2f42f5e..b8662df 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -45,6 +45,7 @@ require_once BASE . "/lib/style.php";
$pkgapi_reachable = 'NO';
$memcache -> set('pkgapi_reachable', $pkgapi_reachable, 0, 300);
}
+ $memcache -> close();
if ($pkgapi_reachable == 'YES')
$skip_json_checks = false;
else