summary refs log tree commit diff
path: root/tests/storage/test_state.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-64/+38
|
* Split the state_group_cache in two (#3726)Matthew Hodgson2018-08-221-11/+94
| | | | | | | | | 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 letting LL requests benefit from the caching. Previously we were unable to sensibly use the caching and had to pull all state from the DB irrespective of the filtering, which made things slow. Hopefully fixes https://github.com/matrix-org/synapse/issues/3720.
* speed up /members and add at= and membership params (#3568)Matthew Hodgson2018-08-151-1/+1
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
|
* Run black.black2018-08-101-108/+141
|
* Test fixes for Python 3 (#3647)Amber Brown2018-08-091-1/+1
|
* flake8Matthew Hodgson2018-07-251-12/+12
|
* add tests for _get_some_state_from_cacheMatthew Hodgson2018-07-251-0/+150
|
* incorporate more reviewMatthew Hodgson2018-07-241-0/+9
|
* make test workMatthew Hodgson2018-07-191-37/+46
|
* first cut of a UT for testing state store (untested)Matthew Hodgson2018-07-191-0/+151