summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-22 12:10:33 +0000
committerDavid Baker <dave@matrix.org>2016-01-22 12:10:33 +0000
commit10f76dc5da47c49a4191d8113b3c0615224eb9fd (patch)
tree07d2113ec55cf1a86f1b64b37767c434d8b4eb5c /synapse/storage
parentAdd __contains__ (diff)
downloadsynapse-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.py2
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
     ):