summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-15 14:04:28 +0100
committerErik Johnston <erik@matrix.org>2016-09-15 14:04:28 +0100
commit55e6fc917c5c6b93b200706b3ef24cb27d80ff93 (patch)
tree51f8181e49bbf9e29207f3620d90c83f712c666e /synapse/replication
parentRemove default public rooms limit (diff)
downloadsynapse-55e6fc917c5c6b93b200706b3ef24cb27d80ff93.tar.xz
Add cache to get_forward_extremeties_for_room
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index f8965c73a0..842ced02d6 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -173,7 +173,7 @@ class SlavedEventStore(BaseSlavedStore):
     get_room_max_stream_ordering = DataStore.get_room_max_stream_ordering.__func__
 
     get_forward_extremeties_for_room = (
-        DataStore.get_forward_extremeties_for_room.__func__
+        EventFederationStore.__dict__["get_forward_extremeties_for_room"]
     )
 
     def stream_positions(self):