summary refs log tree commit diff
path: root/tests/util/test_lrucache.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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