summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-07-31 15:06:41 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-07-31 15:06:41 +0100
commitcf42d0a60cce6cbb4b56f58bdb25d7a90e3ecff6 (patch)
tree186da153db33cf0a4ed7d8b41fa740f6cc3bc12d
parentFix cache invalidation calls (diff)
downloadsynapse-cf42d0a60cce6cbb4b56f58bdb25d7a90e3ecff6.tar.xz
Fix cache name
-rw-r--r--synapse/storage/data_stores/main/push_rule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/push_rule.py b/synapse/storage/data_stores/main/push_rule.py
index 85cd24ce72..267fc5f5a3 100644
--- a/synapse/storage/data_stores/main/push_rule.py
+++ b/synapse/storage/data_stores/main/push_rule.py
@@ -181,7 +181,7 @@ class PushRulesWorkerStore(
             )
 
     @cachedList(
-        cached_method_name="get_push_rules_for_user",
+        cached_method_name="_get_push_rules_for_user",
         list_name="user_ids",
         num_args=1,
         inlineCallbacks=True,