diff options
author | Erik Johnston <erikj@jki.re> | 2017-06-07 14:01:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-07 14:01:06 +0100 |
commit | a053ff397946ed6184e56f37013d0fa9d379d2ff (patch) | |
tree | ff1144dbe7bfc0dd281fdc9cf29cfa77bae0054a /synapse/replication/slave | |
parent | Add some logging to user directory (diff) | |
parent | Comments (diff) | |
download | synapse-a053ff397946ed6184e56f37013d0fa9d379d2ff.tar.xz |
Merge pull request #2248 from matrix-org/erikj/state_fixup
Faster cache for get_joined_hosts
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r-- | synapse/replication/slave/storage/events.py | 2 |
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 = ( |