summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-22 14:18:21 +0000
committerErik Johnston <erik@matrix.org>2016-03-22 14:18:21 +0000
commit6cf0ba14663c263ea5f423a4b24b3915b8349e36 (patch)
tree31b11b037687671c5450471b86b1d0ada7d2ba11
parentBump get_aliases_for_room cache (diff)
downloadsynapse-6cf0ba14663c263ea5f423a4b24b3915b8349e36.tar.xz
Bump get_unread_event_push_actions_by_room_for_user cache
Diffstat (limited to '')
-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 5820539a92..dc5830450a 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -49,7 +49,7 @@ class EventPushActionsStore(SQLBaseStore):
             )
         self._simple_insert_many_txn(txn, "event_push_actions", values)
 
-    @cachedInlineCallbacks(num_args=3, lru=True, tree=True)
+    @cachedInlineCallbacks(num_args=3, lru=True, tree=True, max_entries=5000)
     def get_unread_event_push_actions_by_room_for_user(
             self, room_id, user_id, last_read_event_id
     ):