summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-07 14:01:06 +0100
committerGitHub <noreply@github.com>2017-06-07 14:01:06 +0100
commita053ff397946ed6184e56f37013d0fa9d379d2ff (patch)
treeff1144dbe7bfc0dd281fdc9cf29cfa77bae0054a /synapse/replication
parentAdd some logging to user directory (diff)
parentComments (diff)
downloadsynapse-a053ff397946ed6184e56f37013d0fa9d379d2ff.tar.xz
Merge pull request #2248 from matrix-org/erikj/state_fixup
Faster cache for get_joined_hosts
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index fcaf58b93b..6cd3a843df 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -108,6 +108,8 @@ class SlavedEventStore(BaseSlavedStore):
     get_current_state_ids = (
         StateStore.__dict__["get_current_state_ids"]
     )
+    get_state_group_delta = DataStore.get_state_group_delta.__func__
+    _get_joined_hosts_cache = RoomMemberStore.__dict__["_get_joined_hosts_cache"]
     has_room_changed_since = DataStore.has_room_changed_since.__func__
 
     get_unread_push_actions_for_user_in_range_for_http = (