mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 18:15:53 +03: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,
|
||||
)
|
||||
|
||||
@cached()
|
||||
@cached(max_entries=5000, iterable=True)
|
||||
def get_latest_event_ids_in_room(self, room_id):
|
||||
return self._simple_select_onecol(
|
||||
table="event_forward_extremities",
|
||||
|
|
Loading…
Reference in a new issue