summary refs log tree commit diff
path: root/synapse/replication/slave
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-03-14 16:58:26 +0000
committerGitHub <noreply@github.com>2017-03-14 16:58:26 +0000
commit1bf84c4b6b9e2a145fcc8cfd27cbb2775746378a (patch)
treeae6d19a234b566ff4fc58ec1d7b47c9622843b2c /synapse/replication/slave
parentMerge pull request #1996 from matrix-org/erikj/fix_current_state (diff)
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/public_lis... (diff)
downloadsynapse-1bf84c4b6b9e2a145fcc8cfd27cbb2775746378a.tar.xz
Merge pull request #1989 from matrix-org/erikj/public_list_speed
Speed up public room list
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r--synapse/replication/slave/storage/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index 622b2d8540..518c9ea2e9 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -109,6 +109,10 @@ class SlavedEventStore(BaseSlavedStore):
     get_recent_event_ids_for_room = (
         StreamStore.__dict__["get_recent_event_ids_for_room"]
     )
+    get_current_state_ids = (
+        StateStore.__dict__["get_current_state_ids"]
+    )
+    has_room_changed_since = DataStore.has_room_changed_since.__func__
 
     get_unread_push_actions_for_user_in_range_for_http = (
         DataStore.get_unread_push_actions_for_user_in_range_for_http.__func__