summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-15 15:40:13 +0000
committerErik Johnston <erik@matrix.org>2018-03-15 15:46:54 +0000
commit7c7706f42b56dd61f5eb17679aa12247f7058ed5 (patch)
tree5d45938bcff322833a04e8f072507f7fcdb71b81 /tests/handlers
parentMerge pull request #3003 from matrix-org/rav/fix_contributing (diff)
downloadsynapse-7c7706f42b56dd61f5eb17679aa12247f7058ed5.tar.xz
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.
Diffstat (limited to 'tests/handlers')
0 files changed, 0 insertions, 0 deletions