diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-06-11 23:13:06 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-06-22 11:52:07 +0100 |
commit | 43e02c409d163700a293ae67015584699d557c3c (patch) | |
tree | bc4da02b414bd4d193b414522d894a63b452548e /synapse/config/repository.py | |
parent | Merge pull request #3382 from matrix-org/rav/optimise_state_groups (diff) | |
download | synapse-43e02c409d163700a293ae67015584699d557c3c.tar.xz |
Disable partial state group caching for wildcard lookups
When _get_state_for_groups is given a wildcard filter, just do a complete lookup. Hopefully this will give us the best of both worlds by not filling up the ram if we only need one or two keys, but also making the cache still work for the federation reader usecase.
Diffstat (limited to 'synapse/config/repository.py')
0 files changed, 0 insertions, 0 deletions