Commit History

Autor SHA1 Mensaxe Data
  Patrick Cloke acea4d7a2f Add missing types to tests.util. (#14597) %!s(int64=2) %!d(string=hai) anos
  Shay cde8af9a49 Add config flags to allow for cache auto-tuning (#12701) %!s(int64=2) %!d(string=hai) anos
  Patrick Cloke 02d708568b Replace assertEquals and friends with non-deprecated versions. (#12092) %!s(int64=2) %!d(string=hai) anos
  Sean Quah 7ff22d6da4 Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454) %!s(int64=3) %!d(string=hai) anos
  Erik Johnston 7a5873277e Add support for evicting cache entries based on last access time. (#10205) %!s(int64=3) %!d(string=hai) anos
  Richard van der Hoff c0df6bae06 Remove `keylen` from `LruCache`. (#9993) %!s(int64=3) %!d(string=hai) anos
  Jonathan de Jong 4b965c862d Remove redundant "coding: utf-8" lines (#9786) %!s(int64=3) %!d(string=hai) anos
  Patrick Cloke 0b3112123d Use mock from the stdlib. (#9772) %!s(int64=3) %!d(string=hai) anos
  Richard van der Hoff 96e7d3c4a0 Fix 'LruCache' object has no attribute '_on_resize' (#8591) %!s(int64=4) %!d(string=hai) anos
  Richard van der Hoff 3ee17585cd Make LruCache register its own metrics (#8561) %!s(int64=4) %!d(string=hai) anos
  Amber Brown 7cb8b4bc67 Allow configuration of Synapse's cache without using synctl or environment variables (#6391) %!s(int64=4) %!d(string=hai) anos
  black 8b3d9b6b19 Run black. %!s(int64=6) %!d(string=hai) anos
  Amber Brown 49af402019 run isort %!s(int64=6) %!d(string=hai) anos
  Erik Johnston 9e8e236d98 Tidy up test %!s(int64=7) %!d(string=hai) anos
  Erik Johnston f85b6ca494 Speed up cache size calculation %!s(int64=7) %!d(string=hai) anos
  Erik Johnston 2fae34bd2c Optionally measure size of cache by sum of length of values %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 45fd2c8942 Ensure invalidation list does not grow unboundedly %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 4161ff2fc4 Add concept of cache contexts %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 4fce59f274 Add tests %!s(int64=8) %!d(string=hai) anos
  David Baker d552861346 Revert all the bits changing keys of eeverything that used LRUCaches to tuples %!s(int64=8) %!d(string=hai) anos
  David Baker 10f76dc5da Make LRU cache not default to treecache & add options to use it %!s(int64=8) %!d(string=hai) anos
  David Baker 31a051b677 Test treecache directly %!s(int64=8) %!d(string=hai) anos
  David Baker f1f8122120 Change LRUCache to be tree-based so we can delete subtrees. %!s(int64=8) %!d(string=hai) anos
  Matthew Hodgson 6c28ac260c copyrights %!s(int64=9) %!d(string=hai) anos
  Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches %!s(int64=9) %!d(string=hai) anos
  Mark Haines d8324d5a2b Add a lru cache class %!s(int64=9) %!d(string=hai) anos