| Commit message (Expand) | Author | Age | Files | Lines |
* | Track cache invalidations (#12000) | Erik Johnston | 2022-02-15 | 1 | -1/+3 |
* | Describe `prune_unread_entries` in docstrings (#11876) | David Robertson | 2022-02-02 | 1 | -0/+6 |
* | Update to the current version of Black and run it on Synapse codebase (#11596) | Shay | 2021-12-23 | 1 | -1/+0 |
* | Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454) | Sean Quah | 2021-11-30 | 1 | -1/+4 |
* | Eliminate a few `Any`s in `LruCache` type hints (#11453) | Sean Quah | 2021-11-30 | 1 | -16/+21 |
* | More types for synapse.util, part 1 (#10888) | David Robertson | 2021-10-06 | 1 | -31/+26 |
* | Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826) | David Robertson | 2021-09-22 | 1 | -3/+13 |
* | Track why we're evicting from caches (#10829) | David Robertson | 2021-09-22 | 1 | -2/+2 |
* | Add types to synapse.util. (#10601) | reivilibre | 2021-09-10 | 1 | -2/+3 |
* | [pyupgrade] `synapse/` (#10348) | Jonathan de Jong | 2021-07-19 | 1 | -2/+1 |
* | Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) | Jonathan de Jong | 2021-07-15 | 1 | -4/+4 |
* | Add support for evicting cache entries based on last access time. (#10205) | Erik Johnston | 2021-07-05 | 1 | -35/+202 |
* | Combine `LruCache.invalidate` and `invalidate_many` (#9973) | Richard van der Hoff | 2021-05-27 | 1 | -7/+11 |
* | Remove `keylen` from `LruCache`. (#9993) | Richard van der Hoff | 2021-05-24 | 1 | -6/+4 |
* | Optionally track memory usage of each LruCache (#9881) | Erik Johnston | 2021-05-05 | 1 | -1/+47 |
* | Reduce memory footprint of caches (#9886) | Erik Johnston | 2021-04-28 | 1 | -18/+59 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 1 | -6/+8 |
* | Fix 'LruCache' object has no attribute '_on_resize' (#8591) | Richard van der Hoff | 2020-10-19 | 1 | -1/+9 |
* | Replace DeferredCache with LruCache where possible (#8563) | Richard van der Hoff | 2020-10-19 | 1 | -0/+3 |
* | review comments | Richard van der Hoff | 2020-10-16 | 1 | -3/+8 |
* | Apply suggestions from code review | Richard van der Hoff | 2020-10-16 | 1 | -1/+1 |
* | type annotations for LruCache | Richard van der Hoff | 2020-10-16 | 1 | -12/+61 |
* | Make LruCache register its own metrics (#8561) | Richard van der Hoff | 2020-10-16 | 1 | -11/+35 |
* | Add some more type annotations to Cache | Richard van der Hoff | 2020-10-14 | 1 | -1/+2 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -2/+2 |
* | Don't apply cache factor to event cache. (#7578) | Erik Johnston | 2020-05-27 | 1 | -0/+4 |
* | Allow configuration of Synapse's cache without using synctl or environment va... | Amber Brown | 2020-05-11 | 1 | -9/+43 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -2/+12 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -1/+1 |
* | Add comments | Erik Johnston | 2018-03-19 | 1 | -0/+7 |
* | Fix bug where state cache used lots of memory | Erik Johnston | 2018-03-15 | 1 | -4/+4 |
* | report metrics on number of cache evictions | Richard van der Hoff | 2018-02-05 | 1 | -3/+25 |
* | Update LruCache size estimate on clear | Erik Johnston | 2017-01-18 | 1 | -0/+2 |
* | Remove needless call to evict() | Erik Johnston | 2017-01-17 | 1 | -1/+0 |
* | Speed up cache size calculation | Erik Johnston | 2017-01-17 | 1 | -17/+25 |
* | Optionally measure size of cache by sum of length of values | Erik Johnston | 2017-01-13 | 1 | -14/+18 |
* | Ensure invalidation list does not grow unboundedly | Erik Johnston | 2016-08-19 | 1 | -8/+8 |
* | Add concept of cache contexts | Erik Johnston | 2016-08-19 | 1 | -7/+32 |
* | Make LruCache use a dedicated _Node class | Erik Johnston | 2016-03-22 | 1 | -32/+41 |
* | Remove spurious self.size | Erik Johnston | 2016-01-29 | 1 | -1/+0 |
* | Make TreeCache keep track of its own size. | Erik Johnston | 2016-01-29 | 1 | -6/+3 |
* | Reset size on clear | Erik Johnston | 2016-01-29 | 1 | -0/+2 |
* | Don't add the member functiopn if we're not using treecache | David Baker | 2016-01-22 | 1 | -1/+4 |
* | docs | David Baker | 2016-01-22 | 1 | -1/+5 |
* | Revert all the bits changing keys of eeverything that used LRUCaches to tuples | David Baker | 2016-01-22 | 1 | -1/+1 |
* | Make LRU cache not default to treecache & add options to use it | David Baker | 2016-01-22 | 1 | -4/+5 |
* | Change LRUCache to be tree-based so we can delete subtrees. | David Baker | 2016-01-21 | 1 | -8/+35 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -0/+149 |