summary refs log tree commit diff
path: root/synapse/http (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-22Split the state_group_cache in two (#3726)Matthew Hodgson3-28/+236
Splits the state_group_cache in two. One half contains normal state events; the other contains member events. The idea is that the lazyloading common case of: "I want a subset of member events plus all of the other state" can be accomplished efficiently by splitting the cache into two, and asking for "all events" from the non-members cache, and "just these keys" from the members cache. This means we can avoid having to make DictionaryCache aware of these sort of complicated queries, whilst letti