Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Only check local event cache for roommember lookup optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 2, 2022
1 parent af8630e commit 030888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ async def _get_joined_users_from_context(
# We don't update the event cache hit ratio as it completely throws off
# the hit ratio counts. After all, we don't populate the cache if we
# miss it here
event_map = await self._get_events_from_cache(
event_map = self._get_events_from_local_cache(
member_event_ids, update_metrics=False
)

Expand Down

0 comments on commit 030888b

Please sign in to comment.