mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-27 23:45:44 +00:00
Change regex cache size to 5000
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user