diff options
author | Erik Johnston <erik@matrix.org> | 2023-01-20 14:27:54 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2023-01-20 15:52:59 +0000 |
commit | 5a4355de58933861c072cfc78583e7fe2a569357 (patch) | |
tree | 85af872d5d003c352b2509a70e3a3afd072c1715 | |
parent | Fix test (diff) | |
download | synapse-5a4355de58933861c072cfc78583e7fe2a569357.tar.xz |
Fix portdb
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index c463b60b26..5e137dbbf7 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -51,6 +51,7 @@ from synapse.logging.context import ( make_deferred_yieldable, run_in_background, ) +from synapse.notifier import ReplicationNotifier from synapse.storage.database import DatabasePool, LoggingTransaction, make_conn from synapse.storage.databases.main import PushRuleStore from synapse.storage.databases.main.account_data import AccountDataWorkerStore @@ -260,6 +261,9 @@ class MockHomeserver: def should_send_federation(self) -> bool: return False + def get_replication_notifier(self) -> ReplicationNotifier: + return ReplicationNotifier() + class Porter: def __init__( |