mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:56:07 -04:00
Make LRU cache not default to treecache & add options to use it
This commit is contained in:
parent
5b142788d2
commit
10f76dc5da
4 changed files with 29 additions and 19 deletions
|
@ -53,7 +53,7 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
f,
|
||||
)
|
||||
|
||||
@cachedInlineCallbacks(num_args=3, lru=True)
|
||||
@cachedInlineCallbacks(num_args=3, lru=True, tree=True)
|
||||
def get_unread_event_push_actions_by_room_for_user(
|
||||
self, room_id, user_id, last_read_event_id
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue