mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Make cache_context an explicit option
This commit is contained in:
parent
f164fd9220
commit
dc76a3e909
3 changed files with 30 additions and 11 deletions
|
@ -134,7 +134,7 @@ class PushRuleStore(SQLBaseStore):
|
|||
|
||||
return self._bulk_get_push_rules_for_room(room_id, state_group, current_state)
|
||||
|
||||
@cachedInlineCallbacks(num_args=2)
|
||||
@cachedInlineCallbacks(num_args=2, cache_context=True)
|
||||
def _bulk_get_push_rules_for_room(self, room_id, state_group, current_state,
|
||||
cache_context):
|
||||
# We don't use `state_group`, its there so that we can cache based
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue