Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add logging to diagnose a suspicion github/rei/librepush.net-stcache rei/librepush.net-stcache | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -7/+17 |
| | |||||
* | Bypass caching from the old system | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -25/+27 |
| | |||||
* | Bleh logbugfix | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -1/+1 |
| | |||||
* | Change things around | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -24/+25 |
| | |||||
* | Log a little bit more | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -7/+6 |
| | |||||
* | Add some logging and validation to help determine whether this all works or ↵ | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -0/+106 |
| | | | | not :) | ||||
* | Iterate over in-flight requests in descending order | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -4/+6 |
| | |||||
* | Use sorted dicts | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -2/+5 |
| | | | | Note that they are sorted in ascending size order, so this needs further touch-ups. | ||||
* | Define a comparator for StateFilters | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -0/+20 |
| | |||||
* | Shunt out with StateFilter.all() if many requests are made to the same group | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -0/+14 |
| | |||||
* | Fix up misunderstanding (fixes tests) | Olivier Wilkinson (reivilibre) | 2021-12-20 | 1 | -1/+1 |
| | |||||
* | Simplify gatherResults and fix log contexts | Olivier Wilkinson (reivilibre) | 2021-11-04 | 1 | -10/+5 |
| | |||||
* | Directly await fetched state for simplicity | Olivier Wilkinson (reivilibre) | 2021-11-04 | 1 | -7/+6 |
| | |||||
* | Check != against StateFilter.none() for clarity | Olivier Wilkinson (reivilibre) | 2021-11-04 | 1 | -1/+1 |
| | |||||
* | Fix up log contexts in _get_state_for_group_fire_request | Olivier Wilkinson (reivilibre) | 2021-11-04 | 1 | -5/+6 |
| | |||||
* | Use `yieldable_gather_results` helper because it's more elegant | Olivier Wilkinson (reivilibre) | 2021-09-27 | 1 | -15/+5 |
| | |||||
* | Convert to review comments | Olivier Wilkinson (reivilibre) | 2021-09-21 | 1 | -10/+9 |
| | |||||
* | Use the in-flight caches for `_get_state_for_groups` | Olivier Wilkinson (reivilibre) | 2021-09-21 | 1 | -22/+15 |
| | |||||
* | Add method to get 1 state group, both using and updating in-flight cache | Olivier Wilkinson (reivilibre) | 2021-09-21 | 1 | -0/+52 |
| | |||||
* | Add method to gather in-flight requests and calculate left-over filter | Olivier Wilkinson (reivilibre) | 2021-09-21 | 1 | -0/+40 |
| | |||||
* | Add method to request 1 state group, tracking the inflight request | Olivier Wilkinson (reivilibre) | 2021-09-21 | 1 | -2/+74 |
| | |||||
* | Fix remove_stale_pushers job on SQLite. (#10843) | reivilibre | 2021-09-20 | 1 | -3/+3 |
| | |||||
* | Add type hints to state database module. (#10823) | Patrick Cloke | 2021-09-15 | 2 | -69/+127 |
| | |||||
* | Add type hints to state handler. (#10482) | Patrick Cloke | 2021-07-26 | 1 | -6/+11 |
| | |||||
* | Reorganise the database schema directories (#9932) | Richard van der Hoff | 2021-05-07 | 10 | -233/+0 |
| | | | | | The hope here is that by moving all the schema files into synapse/storage/schema, it gets a bit easier for newcomers to navigate. It certainly got easier for me to write a helpful README. There's more to do on that front, but I'll follow up with other PRs for that. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 3 | -3/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 2 | -3/+7 |
| | | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl> | ||||
* | Add type hints to DictionaryCache and TTLCache. (#9442) | Patrick Cloke | 2021-03-29 | 1 | -4/+5 |
| | |||||
* | Refactor to ensure we call check_consistency (#9470) | Erik Johnston | 2021-02-24 | 1 | -4/+6 |
| | | | The idea here is to stop people forgetting to call `check_consistency`. Folks can still just pass in `None` to the new args in `build_sequence_generator`, but hopefully they won't. | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -3/+3 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Fix some typos. | Patrick Cloke | 2021-02-12 | 1 | -1/+1 |
| | |||||
* | Use execute_batch in more places (#9188) | Erik Johnston | 2021-01-21 | 1 | -2/+2 |
| | | | | | * Use execute_batch in more places * Newsfile | ||||
* | Mypy fixes for `synapse.handlers.federation` (#8422) | Richard van der Hoff | 2020-09-29 | 1 | -2/+2 |
| | | | For some reason, an apparently unrelated PR upset mypy about this module. Here are a number of little fixes. | ||||
* | Add checks for postgres sequence consistency (#8402) | Erik Johnston | 2020-09-28 | 1 | -0/+3 |
| | |||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 2 | -2/+2 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Convert state and stream stores and related code to async (#8194) | Patrick Cloke | 2020-08-28 | 1 | -13/+13 |
| | |||||
* | Converts event_federation and registration databases to async/await (#8061) | Patrick Cloke | 2020-08-11 | 1 | -11/+7 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 13 | -0/+1267 |