From 1da6ac89b5f863525d8bafd54f7123ff719a8149 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 8 Feb 2019 13:51:04 +0100 Subject: close memcache connection if no longer needed --- packages/pkginfo.php | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') 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 -- cgit v1.2.3-70-g09d2