summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-09-07 09:39:58 +0100
committerGitHub <noreply@github.com>2016-09-07 09:39:58 +0100
commit94a83b534f0c482a4faa6f33433126615f14401a (patch)
treefd9f61ff3907fba599d387b5b70c5b6ec16ce9c6 /synapse/replication
parentMerge pull request #1073 from matrix-org/erikj/presence_fiddle (diff)
parentScale the batch size so that we're not bitten by the minimum (diff)
downloadsynapse-94a83b534f0c482a4faa6f33433126615f14401a.tar.xz
Merge pull request #1065 from matrix-org/erikj/state_storage
Move to storing state_groups_state as deltas
Diffstat (limited to 'synapse/replication')
-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 cbebd5b2f7..15c52774a2 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -86,6 +86,9 @@ class SlavedEventStore(BaseSlavedStore):
     _get_state_groups_from_groups = (
         StateStore.__dict__["_get_state_groups_from_groups"]
     )
+    _get_state_groups_from_groups_txn = (
+        DataStore._get_state_groups_from_groups_txn.__func__
+    )
     _get_state_group_from_group = (
         StateStore.__dict__["_get_state_group_from_group"]
     )