summary refs log tree commit diff
path: root/synapse/util/caches/lrucache.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-2/+1
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-4/+4
* Add support for evicting cache entries based on last access time. (#10205)Erik Johnston2021-07-051-35/+202
* Combine `LruCache.invalidate` and `invalidate_many` (#9973)Richard van der Hoff2021-05-271-7/+11
* Remove `keylen` from `LruCache`. (#9993)Richard van der Hoff2021-05-241-6/+4
* Optionally track memory usage of each LruCache (#9881)Erik Johnston2021-05-051-1/+47
* Reduce memory footprint of caches (#9886)Erik Johnston2021-04-281-18/+59
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-6/+8
* Fix 'LruCache' object has no attribute '_on_resize' (#8591)Richard van der Hoff2020-10-191-1/+9
* Replace DeferredCache with LruCache where possible (#8563)Richard van der Hoff2020-10-191-0/+3
* review commentsRichard van der Hoff2020-10-161-3/+8
* Apply suggestions from code reviewRichard van der Hoff2020-10-161-1/+1
* type annotations for LruCacheRichard van der Hoff2020-10-161-12/+61
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-161-11/+35
* Add some more type annotations to CacheRichard van der Hoff2020-10-141-1/+2
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Don't apply cache factor to event cache. (#7578)Erik Johnston2020-05-271-0/+4
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-9/+43
* Run Black. (#5482)Amber Brown2019-06-201-2/+12
* run isortAmber Brown2018-07-091-1/+1
* Add commentsErik Johnston2018-03-191-0/+7
* Fix bug where state cache used lots of memoryErik Johnston2018-03-151-4/+4
* report metrics on number of cache evictionsRichard van der Hoff2018-02-051-3/+25
* Update LruCache size estimate on clearErik Johnston2017-01-181-0/+2
* Remove needless call to evict()Erik Johnston2017-01-171-1/+0
* Speed up cache size calculationErik Johnston2017-01-171-17/+25
* Optionally measure size of cache by sum of length of valuesErik Johnston2017-01-131-14/+18
* Ensure invalidation list does not grow unboundedlyErik Johnston2016-08-191-8/+8
* Add concept of cache contextsErik Johnston2016-08-191-7/+32
* Make LruCache use a dedicated _Node classErik Johnston2016-03-221-32/+41
* Remove spurious self.sizeErik Johnston2016-01-291-1/+0
* Make TreeCache keep track of its own size.Erik Johnston2016-01-291-6/+3
* Reset size on clearErik Johnston2016-01-291-0/+2
* Don't add the member functiopn if we're not using treecacheDavid Baker2016-01-221-1/+4
* docsDavid Baker2016-01-221-1/+5
* Revert all the bits changing keys of eeverything that used LRUCaches to tuplesDavid Baker2016-01-221-1/+1
* Make LRU cache not default to treecache & add options to use itDavid Baker2016-01-221-4/+5
* Change LRUCache to be tree-based so we can delete subtrees.David Baker2016-01-211-8/+35
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-0/+149