anonymousland-synapse/synapse/util/caches
Erik Johnston 7c7706f42b Fix bug where state cache used lots of memory
The state cache bases its size on the sum of the size of entries. The
size of the entry is calculated once on insertion, so it is important
that the size of entries does not change.

The DictionaryCache modified the entries size, which caused the state
cache to incorrectly think it was smaller than it actually was.
2018-03-15 15:46:54 +00:00
..
__init__.py Increase default cache factor size. 2017-07-04 09:58:32 +01:00
descriptors.py report metrics on number of cache evictions 2018-02-05 15:34:01 +00:00
dictionary_cache.py Fix bug where state cache used lots of memory 2018-03-15 15:46:54 +00:00
expiringcache.py report metrics on number of cache evictions 2018-02-05 15:34:01 +00:00
lrucache.py Fix bug where state cache used lots of memory 2018-03-15 15:46:54 +00:00
response_cache.py Cache federation state responses 2016-07-21 10:30:12 +01:00
snapshot_cache.py Fix up logcontexts 2016-02-08 14:26:45 +00:00
stream_change_cache.py Define CACHE_SIZE_FACTOR once 2017-07-04 09:56:44 +01:00
treecache.py Rename and comment tree_to_leaves_iterator 2017-01-17 11:47:03 +00:00