summary refs log tree commit diff
path: root/scripts/synapse_port_db
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-03-03 10:59:10 +0000
committerErik Johnston <erik@matrix.org>2021-03-03 10:59:10 +0000
commit81c7b0515d6cefe3c3717b57c96de0b9a1ca4cf7 (patch)
tree7a6af0cfaecf639dc8233435114cd2c60045bd37 /scripts/synapse_port_db
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentPrevent presence background jobs from running when presence is disabled (#9530) (diff)
downloadsynapse-81c7b0515d6cefe3c3717b57c96de0b9a1ca4cf7.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'scripts/synapse_port_db')
-rwxr-xr-xscripts/synapse_port_db2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db

index d2aaea08f5..58edf6af6c 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db
@@ -47,6 +47,7 @@ from synapse.storage.databases.main.events_bg_updates import ( from synapse.storage.databases.main.media_repository import ( MediaRepositoryBackgroundUpdateStore, ) +from synapse.storage.databases.main.pusher import PusherWorkerStore from synapse.storage.databases.main.registration import ( RegistrationBackgroundUpdateStore, find_max_generated_user_id_localpart, @@ -177,6 +178,7 @@ class Store( UserDirectoryBackgroundUpdateStore, EndToEndKeyBackgroundStore, StatsStore, + PusherWorkerStore, ): def execute(self, f, *args, **kwargs): return self.db_pool.runInteraction(f.__name__, f, *args, **kwargs)