Improve performance of getting unread counts in rooms (#13119)

This commit is contained in:
Erik Johnston 2022-06-29 11:32:38 +01:00 committed by GitHub
parent cdc0259449
commit 92a0c18ef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 4 deletions

View file

@ -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__(