diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-01 10:39:41 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-01 10:39:41 +0000 |
commit | 5deaf9e30bcf37b765e80f08c242e74ca8ac93b3 (patch) | |
tree | a69474101c5f4e196de894a9d4c86fd49ee4252f | |
parent | Merge pull request #1866 from matrix-org/erikj/device_list_fixes (diff) | |
download | synapse-5deaf9e30bcf37b765e80f08c242e74ca8ac93b3.tar.xz |
Up get_latest_event_ids_in_room cache
-rw-r--r-- | synapse/storage/event_federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index f0aa2193fb..ee88c61954 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -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", |