diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py index 5820539a929ca8d8a374ca45d669f5d1ae316bec..dc5830450adf914fc5356cd51c6c73a46413c97f 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 ):