Skip to content
Snippets Groups Projects
Commit 5deaf9e3 authored by Erik Johnston's avatar Erik Johnston
Browse files

Up get_latest_event_ids_in_room cache

parent 06567ec5
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ class EventFederationStore(SQLBaseStore): ...@@ -129,7 +129,7 @@ class EventFederationStore(SQLBaseStore):
room_id, room_id,
) )
@cached() @cached(max_entries=5000, iterable=True)
def get_latest_event_ids_in_room(self, room_id): def get_latest_event_ids_in_room(self, room_id):
return self._simple_select_onecol( return self._simple_select_onecol(
table="event_forward_extremities", table="event_forward_extremities",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment