diff options
author | Erik Johnston <erik@matrix.org> | 2022-06-29 11:32:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 10:32:38 +0000 |
commit | 92a0c18ef0f42b80e382667141e6593ab30e3776 (patch) | |
tree | 5785ed61de85b649bb7e75445a197d28340fe6f0 /synapse/_scripts | |
parent | Document the `--report-stats` argument (#13029) (diff) | |
download | synapse-92a0c18ef0f42b80e382667141e6593ab30e3776.tar.xz |
Improve performance of getting unread counts in rooms (#13119)
Diffstat (limited to 'synapse/_scripts')
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index 9c06c837dc..f3f9c6d54c 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -270,6 +270,9 @@ class MockHomeserver: def get_instance_name(self) -> str: return "master" + def should_send_federation(self) -> bool: + return False + class Porter: def __init__( |