diff options
author | David Baker <dave@matrix.org> | 2016-01-22 12:10:33 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-22 12:10:33 +0000 |
commit | 10f76dc5da47c49a4191d8113b3c0615224eb9fd (patch) | |
tree | 07d2113ec55cf1a86f1b64b37767c434d8b4eb5c /synapse/storage | |
parent | Add __contains__ (diff) | |
download | synapse-10f76dc5da47c49a4191d8113b3c0615224eb9fd.tar.xz |
Make LRU cache not default to treecache & add options to use it
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/event_push_actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py index 6a212c630b..a05c4f84cf 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -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 ): |