summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-24 11:07:02 +0000
committerErik Johnston <erik@matrix.org>2017-03-24 11:07:02 +0000
commitd58b1ffe9424453526026e294ac9b6458d31eb9d (patch)
tree5ebefdbf0bfa1d73a34b3b33024a72b61a33e7cf /synapse/replication
parentUse iter(items|values) (diff)
downloadsynapse-d58b1ffe9424453526026e294ac9b6458d31eb9d.tar.xz
Replace some calls to cursor_to_dict
cursor_to_dict can be surprisinglh expensive for large result sets, so lets
only call it when we need to.
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index a1e1e54e5b..d4db1e452e 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -167,7 +167,6 @@ class SlavedEventStore(BaseSlavedStore):
     _get_rooms_for_user_where_membership_is_txn = (
         DataStore._get_rooms_for_user_where_membership_is_txn.__func__
     )
-    _get_members_rows_txn = DataStore._get_members_rows_txn.__func__
     _get_state_for_groups = DataStore._get_state_for_groups.__func__
     _get_all_state_from_cache = DataStore._get_all_state_from_cache.__func__
     _get_events_around_txn = DataStore._get_events_around_txn.__func__