summary refs log tree commit diff
path: root/synapse/util/caches/lrucache.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add config flags to allow for cache auto-tuning (#12701)Shay2022-05-131-10/+69
* Track cache invalidations (#12000)Erik Johnston2022-02-151-1/+3
* Describe `prune_unread_entries` in docstrings (#11876)David Robertson2022-02-021-0/+6
* Update to the current version of Black and run it on Synapse codebase (#11596)Shay2021-12-231-1/+0
* Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)Sean Quah2021-11-301-1/+4
* Eliminate a few `Any`s in `LruCache` type hints (#11453)Sean Quah2021-11-301-16/+21
* More types for synapse.util, part 1 (#10888)David Robertson2021-10-061-31/+26
* Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826)David Robertson2021-09-221-3/+13
* Track why we're evicting from caches (#10829)David Robertson2021-09-221-2/+2
* Add types to synapse.util. (#10601)reivilibre2021-09-101-2/+3
* [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