summary refs log tree commit diff
path: root/synapse/rest/client/v1/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-22 11:59:31 +0000
committerErik Johnston <erik@matrix.org>2016-03-22 12:00:09 +0000
commit2c86187a1bd61901ecf4adca3dcced9f68cf26de (patch)
tree369e88f1356a750f46dc3887209d7372b6825cb2 /synapse/rest/client/v1/directory.py
parentMerge pull request #658 from matrix-org/markjh/cleanup (diff)
downloadsynapse-2c86187a1bd61901ecf4adca3dcced9f68cf26de.tar.xz
Don't cache events in _state_group_cache
Instead, simply cache the event ids, relying on the event cache to cache
the actual events.

The problem was that while the state groups cache was limited in the
number of groups it could hold, each individual group could consist of
thousands of events.
Diffstat (limited to 'synapse/rest/client/v1/directory.py')
0 files changed, 0 insertions, 0 deletions