mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 20:24:51 -04:00
Make the get_global_account_data_by_type_for_user
cache be a tree-cache whose key is prefixed with the user ID (#11788)
This commit is contained in:
parent
e83520cc42
commit
4c2096599c
6 changed files with 10 additions and 9 deletions
|
@ -1619,7 +1619,7 @@ class SyncHandler:
|
|||
# TODO: Can we `SELECT ignored_user_id FROM ignored_users WHERE ignorer_user_id=?;` instead?
|
||||
ignored_account_data = (
|
||||
await self.store.get_global_account_data_by_type_for_user(
|
||||
AccountDataTypes.IGNORED_USER_LIST, user_id=user_id
|
||||
user_id=user_id, data_type=AccountDataTypes.IGNORED_USER_LIST
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue