mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Add upgrade script that will slowly prune state_groups_state entries
This commit is contained in:
parent
3baf641a48
commit
a99e933550
3 changed files with 223 additions and 75 deletions
|
@ -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"]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue