Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run black. | black | 2018-08-10 | 1 | -14/+5 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+2 |
| | |||||
* | Disable partial state group caching for wildcard lookups | Richard van der Hoff | 2018-06-22 | 1 | -6/+6 |
| | | | | | | | 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. | ||||
* | Make get_state_groups_from_groups faster. | Erik Johnston | 2017-05-17 | 1 | -1/+1 |
| | | | | | | | | | Most of the time was spent copying a dict to filter out sentinel values that indicated that keys did not exist in the dict. The sentinel values were added to ensure that we cached the non-existence of keys. By updating DictionaryCache to keep track of which keys were known to not exist itself we can remove a dictionary copy. | ||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -1/+0 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+1 |
| | |||||
* | Move DictionaryCache | Erik Johnston | 2015-08-04 | 1 | -1/+1 |
| | |||||
* | Add basic dictionary cache | Erik Johnston | 2015-08-04 | 1 | -0/+101 |