summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-03-02 14:05:01 +0000
committerGitHub <noreply@github.com>2021-03-02 14:05:01 +0000
commit16108c579deb17964f3603c7253454b711e9ccd0 (patch)
tree72a639f0e1cccfbf888bd43a966f396179a980f8 /scripts
parentAdd type hints to device and event report admin API (#9519) (diff)
downloadsynapse-16108c579deb17964f3603c7253454b711e9ccd0.tar.xz
Fix SQL delta file taking a long time to run (#9516)
Fixes #9504
Diffstat (limited to 'scripts')
-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)