summary refs log tree commit diff
path: root/tests/util/test_lrucache.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't invalidate the entire event cache when we purge history (#16905)Erik Johnston2024-02-131-0/+31
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
* Update license headersPatrick Cloke2023-11-211-10/+16
* Add missing types to tests.util. (#14597)Patrick Cloke2022-12-021-38/+42
* Add config flags to allow for cache auto-tuning (#12701)Shay2022-05-131-1/+57
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-70/+70
* Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)Sean Quah2021-11-301-0/+12
* Add support for evicting cache entries based on last access time. (#10205)Erik Johnston2021-07-051-1/+45
* Remove `keylen` from `LruCache`. (#9993)Richard van der Hoff2021-05-241-2/+2
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
* Fix 'LruCache' object has no attribute '_on_resize' (#8591)Richard van der Hoff2020-10-191-1/+7
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-161-2/+2
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-3/+3
* Run black.black2018-08-101-2/+0
* run isortAmber Brown2018-07-091-2/+2
* Tidy up testErik Johnston2017-01-171-12/+12
* Speed up cache size calculationErik Johnston2017-01-171-15/+15
* Optionally measure size of cache by sum of length of valuesErik Johnston2017-01-131-0/+25
* Ensure invalidation list does not grow unboundedlyErik Johnston2016-08-191-0/+40
* Add concept of cache contextsErik Johnston2016-08-191-0/+113
* Add testsErik Johnston2016-01-291-0/+7
* Revert all the bits changing keys of eeverything that used LRUCaches to tuplesDavid Baker2016-01-221-22/+22
* Make LRU cache not default to treecache & add options to use itDavid Baker2016-01-221-1/+2
* Test treecache directlyDavid Baker2016-01-221-0/+19
* Change LRUCache to be tree-based so we can delete subtrees.David Baker2016-01-211-22/+22
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-3/+1
* Add a lru cache classMark Haines2015-02-111-0/+56