summary refs log tree commit diff
path: root/synapse/replication/slave/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-05-05 10:15:24 +0100
committerGitHub <noreply@github.com>2017-05-05 10:15:24 +0100
commit8af45695830e4e16cd26c9aadc7a6f92e9ab7c55 (patch)
tree862131a9e66e3419b5c7d1c5e7bc40f9222558c1 /synapse/replication/slave/storage/events.py
parentMerge pull request #2186 from matrix-org/revert-2175-erikj/prefill_state (diff)
parentIntern host strings (diff)
downloadsynapse-8af45695830e4e16cd26c9aadc7a6f92e9ab7c55.tar.xz
Merge pull request #2174 from matrix-org/erikj/current_cache_hosts
Add cache for get_current_hosts_in_room
Diffstat (limited to 'synapse/replication/slave/storage/events.py')
-rw-r--r--synapse/replication/slave/storage/events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py

index ab48ff925e..fcaf58b93b 100644 --- a/synapse/replication/slave/storage/events.py +++ b/synapse/replication/slave/storage/events.py
@@ -144,6 +144,9 @@ class SlavedEventStore(BaseSlavedStore): RoomMemberStore.__dict__["_get_joined_users_from_context"] ) + get_joined_hosts = DataStore.get_joined_hosts.__func__ + _get_joined_hosts = RoomMemberStore.__dict__["_get_joined_hosts"] + get_recent_events_for_room = DataStore.get_recent_events_for_room.__func__ get_room_events_stream_for_rooms = ( DataStore.get_room_events_stream_for_rooms.__func__