diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-05 09:34:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-05 10:05:36 +0100 |
commit | a99e9335502df3389ff6f16ef52c43ce391b6955 (patch) | |
tree | 0a28d8144db46a4676aeb14efda2d51db89e205f /synapse/replication/slave/storage/events.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_storage (diff) | |
download | synapse-a99e9335502df3389ff6f16ef52c43ce391b6955.tar.xz |
Add upgrade script that will slowly prune state_groups_state entries
Diffstat (limited to 'synapse/replication/slave/storage/events.py')
-rw-r--r-- | synapse/replication/slave/storage/events.py | 3 |
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"] ) |