Skip to content
Snippets Groups Projects
Commit 8f66fe63 authored by Erik Johnston's avatar Erik Johnston
Browse files

Cache get_unread_event_push_actions_by_room_for_user

parent 3a00f134
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
from ._base import SQLBaseStore
from twisted.internet import defer
from synapse.util.caches.descriptors import cachedInlineCallbacks
import logging
import ujson as json
......@@ -46,7 +47,7 @@ class EventPushActionsStore(SQLBaseStore):
values
)
@defer.inlineCallbacks
@cachedInlineCallbacks(num_args=3)
def get_unread_event_push_actions_by_room_for_user(
self, room_id, user_id, last_read_event_id
):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment