Change LRUCache to be tree-based so we can delete subtrees.
Showing
- synapse/push/push_rule_evaluator.py 3 additions, 3 deletionssynapse/push/push_rule_evaluator.py
- synapse/util/caches/descriptors.py 10 additions, 1 deletionsynapse/util/caches/descriptors.py
- synapse/util/caches/dictionary_cache.py 5 additions, 5 deletionssynapse/util/caches/dictionary_cache.py
- synapse/util/caches/lrucache.py 35 additions, 8 deletionssynapse/util/caches/lrucache.py
- synapse/util/caches/treecache.py 52 additions, 0 deletionssynapse/util/caches/treecache.py
- tests/storage/test__base.py 13 additions, 13 deletionstests/storage/test__base.py
- tests/util/test_lrucache.py 22 additions, 22 deletionstests/util/test_lrucache.py
Loading
Please register or sign in to comment