Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix flake8 (#4519) | Amber Brown | 2019-01-30 | 1 | -3/+0 |
| | |||||
* | Fix tests | Erik Johnston | 2019-01-25 | 1 | -1/+2 |
| | |||||
* | Revert "Require event format version to parse or create events" | Erik Johnston | 2019-01-25 | 1 | -2/+1 |
| | |||||
* | Fix tests | Erik Johnston | 2019-01-24 | 1 | -1/+2 |
| | |||||
* | Refactor state group lookup to reduce DB hits (#4011) | Erik Johnston | 2018-10-25 | 1 | -65/+110 |
| | | | | | | | | Currently when fetching state groups from the data store we make two hits two the database: once for members and once for non-members (unless request is filtered to one or the other). This adds needless load to the datbase, so this PR refactors the lookup to make only a single database hit. | ||||
* | docstrings and unittests for storage.state (#3958) | Richard van der Hoff | 2018-09-27 | 1 | -0/+39 |
| | | | | I spent ages trying to figure out how I was going mad... | ||||
* | Port tests/ to Python 3 (#3808) | Amber Brown | 2018-09-07 | 1 | -64/+38 |
| | |||||
* | Split the state_group_cache in two (#3726) | Matthew Hodgson | 2018-08-22 | 1 | -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 Hodgson | 2018-08-15 | 1 | -1/+1 |
| | |||||
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -108/+141 |
| | |||||
* | Test fixes for Python 3 (#3647) | Amber Brown | 2018-08-09 | 1 | -1/+1 |
| | |||||
* | flake8 | Matthew Hodgson | 2018-07-25 | 1 | -12/+12 |
| | |||||
* | add tests for _get_some_state_from_cache | Matthew Hodgson | 2018-07-25 | 1 | -0/+150 |
| | |||||
* | incorporate more review | Matthew Hodgson | 2018-07-24 | 1 | -0/+9 |
| | |||||
* | make test work | Matthew Hodgson | 2018-07-19 | 1 | -37/+46 |
| | |||||
* | first cut of a UT for testing state store (untested) | Matthew Hodgson | 2018-07-19 | 1 | -0/+151 |