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

Commit 030888b

Browse files
committed
Only check local event cache for roommember lookup optimisation
1 parent af8630e commit 030888b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/roommember.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ async def _get_joined_users_from_context(
896896
# We don't update the event cache hit ratio as it completely throws off
897897
# the hit ratio counts. After all, we don't populate the cache if we
898898
# miss it here
899-
event_map = await self._get_events_from_cache(
899+
event_map = self._get_events_from_local_cache(
900900
member_event_ids, update_metrics=False
901901
)
902902

0 commit comments

Comments
 (0)