diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-06-13 14:06:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 14:06:27 -0400 |
commit | 53b77b203ac12f20a6534393464588d5d49435f5 (patch) | |
tree | 111900451238c7a7e0f05d863fbd349633c9f32d /synapse/_scripts | |
parent | Merge branch 'rav/simplify_event_auth_interface' into develop (diff) | |
download | synapse-53b77b203ac12f20a6534393464588d5d49435f5.tar.xz |
Replace noop background updates with DELETE. (#12954)
Removes the `register_noop_background_update` and deletes the background updates directly in a delta file.
Diffstat (limited to 'synapse/_scripts')
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index c753dfa7cb..9586086c03 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -61,7 +61,6 @@ from synapse.storage.databases.main.end_to_end_keys import EndToEndKeyBackground from synapse.storage.databases.main.events_bg_updates import ( EventsBackgroundUpdatesStore, ) -from synapse.storage.databases.main.group_server import GroupServerStore from synapse.storage.databases.main.media_repository import ( MediaRepositoryBackgroundUpdateStore, ) @@ -218,7 +217,6 @@ class Store( PushRuleStore, PusherWorkerStore, PresenceBackgroundUpdateStore, - GroupServerStore, ): def execute(self, f: Callable[..., R], *args: Any, **kwargs: Any) -> Awaitable[R]: return self.db_pool.runInteraction(f.__name__, f, *args, **kwargs) |