diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-10 14:34:50 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-10 14:34:50 +0000 |
commit | dd52d4de4c9318b377a880b2662124688fc23129 (patch) | |
tree | 12929878d1b66312bb1a8a6ae11dce50a3869921 /tests/rest/client/v1/test_rooms.py | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-dd52d4de4c9318b377a880b2662124688fc23129.tar.xz |
Limit number of entries to prefill from cache
Some tables, like device_inbox, take a long time to query at startup for the stream change cache prefills. This is likely because they are slower growing streams and so are more fragmented on disk. For now, lets pull fewer entries out to make startup quicker. In future, we should add a better index to make it even faster.
Diffstat (limited to 'tests/rest/client/v1/test_rooms.py')
0 files changed, 0 insertions, 0 deletions