diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-19 15:02:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-19 15:02:38 +0100 |
commit | dc76a3e909535d99f0b6b4a76279a14685324dc4 (patch) | |
tree | 9263f4befa5e83700387ae231ad1910674b7470a /synapse/storage | |
parent | Move _bulk_get_push_rules_for_room to storage layer (diff) | |
download | synapse-dc76a3e909535d99f0b6b4a76279a14685324dc4.tar.xz |
Make cache_context an explicit option
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py index ca929bc239..247dd15694 100644 --- a/synapse/storage/push_rule.py +++ b/synapse/storage/push_rule.py @@ -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 |