From 09465619e53c9c0a04ee73cecc3fc2d87ee74d55 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 28 Jan 2024 17:03:05 +0000 Subject: enable object cash by default, introduce system.cache_expire_days and default to 7, default system.default_expire_days to 30 and system.active_expire_days to 7 --- Zotlabs/Lib/Activity.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index a225e551b..a6a194045 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3084,9 +3084,11 @@ class Activity { while ($current_item['parent_mid'] !== $current_item['mid']) { $cached = ASCache::Get($current_item['parent_mid']); if ($cached) { + // logger('cached: ' . $current_item['parent_mid']); $n = unserialise($cached); } else { + // logger('fetching: ' . $current_item['parent_mid']); $n = self::fetch($current_item['parent_mid'], $channel); if (!$n) { break; -- cgit v1.2.3