mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 19:40:20 +00:00
Up get_latest_event_ids_in_room cache
This commit is contained in:
parent
06567ec513
commit
5deaf9e30b
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue