From 18dda7cd28105b00dbe9074e4db734e424e06079 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 14 Jan 2025 15:37:59 +0100 Subject: [PATCH] fix: cache joinedCircles API request This deprecated API is only used by DAV, but doesn't benefit from the cache, which makes it VERY heavy when you have a lot of users using calendar intensively Signed-off-by: Thomas Citharel --- lib/Api/v1/Circles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Api/v1/Circles.php b/lib/Api/v1/Circles.php index b39c69cab..b1fcc7565 100644 --- a/lib/Api/v1/Circles.php +++ b/lib/Api/v1/Circles.php @@ -130,7 +130,7 @@ public static function joinedCircles($userId = '', $forceAll = false) { $probe->includePersonalCircles($personalCircle); $probe->filterHiddenCircles(); - return $circleService->getCircles($probe); + return $circleService->getCircles($probe, true); }