summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-01 10:39:41 +0000
committerErik Johnston <erik@matrix.org>2017-02-01 10:39:41 +0000
commit5deaf9e30bcf37b765e80f08c242e74ca8ac93b3 (patch)
treea69474101c5f4e196de894a9d4c86fd49ee4252f /synapse/storage
parentMerge pull request #1866 from matrix-org/erikj/device_list_fixes (diff)
downloadsynapse-5deaf9e30bcf37b765e80f08c242e74ca8ac93b3.tar.xz
Up get_latest_event_ids_in_room cache
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_federation.py2
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",