summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-18 16:17:23 +0100
committerErik Johnston <erik@matrix.org>2017-05-18 16:17:23 +0100
commitc57789d138ea3c7f764b2504af8fdcc440656e73 (patch)
treeeaa0224b64c30a95190a9553fd7500309a2c87db /synapse
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-c57789d138ea3c7f764b2504af8fdcc440656e73.tar.xz
Remove size of push get_rules cache
Diffstat (limited to 'synapse')
-rw-r--r--synapse/push/bulk_push_rule_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py
index 5b1f9a1c2d..7f04d5668f 100644
--- a/synapse/push/bulk_push_rule_evaluator.py
+++ b/synapse/push/bulk_push_rule_evaluator.py
@@ -67,7 +67,7 @@ class BulkPushRuleEvaluator:
 
         defer.returnValue(rules_by_user)
 
-    @cached(max_entries=10000)
+    @cached()
     def _get_rules_for_room(self, room_id):
         """Get the current RulesForRoom object for the given room id