Amber Brown
|
7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391)
|
há 4 anos atrás |
black
|
8b3d9b6b19
Run black.
|
há 6 anos atrás |
Amber Brown
|
49af402019
run isort
|
há 6 anos atrás |
Erik Johnston
|
9e8e236d98
Tidy up test
|
há 7 anos atrás |
Erik Johnston
|
f85b6ca494
Speed up cache size calculation
|
há 7 anos atrás |
Erik Johnston
|
2fae34bd2c
Optionally measure size of cache by sum of length of values
|
há 7 anos atrás |
Erik Johnston
|
45fd2c8942
Ensure invalidation list does not grow unboundedly
|
há 8 anos atrás |
Erik Johnston
|
4161ff2fc4
Add concept of cache contexts
|
há 8 anos atrás |
Erik Johnston
|
4fce59f274
Add tests
|
há 8 anos atrás |
David Baker
|
d552861346
Revert all the bits changing keys of eeverything that used LRUCaches to tuples
|
há 8 anos atrás |
David Baker
|
10f76dc5da
Make LRU cache not default to treecache & add options to use it
|
há 8 anos atrás |
David Baker
|
31a051b677
Test treecache directly
|
há 8 anos atrás |
David Baker
|
f1f8122120
Change LRUCache to be tree-based so we can delete subtrees.
|
há 8 anos atrás |
Matthew Hodgson
|
6c28ac260c
copyrights
|
há 8 anos atrás |
Erik Johnston
|
2df8dd9b37
Move all the caches into their own package, synapse.util.caches
|
há 9 anos atrás |
Mark Haines
|
d8324d5a2b
Add a lru cache class
|
há 9 anos atrás |