Skip to content

Commit

Permalink
fix: cache joinedCircles API request
Browse files Browse the repository at this point in the history
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 <tcit@tcit.fr>
  • Loading branch information
tcitworld committed Jan 14, 2025
1 parent 37003d8 commit 18dda7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Api/v1/Circles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 18dda7c

Please sign in to comment.