diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-19 16:07:07 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-19 16:07:07 +0000 |
commit | fb5d8e58ff280c9fc24123adca3254e46ac63097 (patch) | |
tree | da5f67bac496dadcf4876af4ffe17e26d8d7fbe9 /synapse | |
parent | Add regex cache. Only caculate push actions for users that have sent read rec... (diff) | |
download | synapse-fb5d8e58ff280c9fc24123adca3254e46ac63097.tar.xz |
Change regex cache size to 5000
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/push/push_rule_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/push_rule_evaluator.py b/synapse/push/push_rule_evaluator.py index 753b6469e2..dca018af95 100644 --- a/synapse/push/push_rule_evaluator.py +++ b/synapse/push/push_rule_evaluator.py @@ -309,7 +309,7 @@ def _flatten_dict(d, prefix=[], result={}): return result -regex_cache = LruCache(100000) +regex_cache = LruCache(5000) def _compile_regex(regex_str): |