Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+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>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Make deleting stale pushers a background update (#9536) | Erik Johnston | 2021-03-03 | 1 | -0/+52 |
| | |||||
* | Fix SQL delta file taking a long time to run (#9516) | Erik Johnston | 2021-03-02 | 1 | -0/+53 |
| | | | | Fixes #9504 | ||||
* | Ensure pushers are deleted for deactivated accounts (#9285) | Erik Johnston | 2021-02-25 | 1 | -0/+43 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+5 |
| | | | | | | | - 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 | ||||
* | Don't error if deleting a non-existent pusher. (#9121) | Patrick Cloke | 2021-01-25 | 1 | -1/+3 |
| | |||||
* | Ensure we store pusher data as text (#9117) | Richard van der Hoff | 2021-01-15 | 1 | -3/+2 |
| | | | | | I don't think there's any need to use canonicaljson here. Fixes: #4475. | ||||
* | Convert internal pusher dicts to attrs classes. (#8940) | Patrick Cloke | 2020-12-16 | 1 | -36/+57 |
| | | | This improves type hinting and should use less memory. | ||||
* | Add `DeferredCache.get_immediate` method (#8568) | Richard van der Hoff | 2020-10-19 | 1 | -1/+1 |
| | | | | | | | | | | | * Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance | ||||
* | Use `async with` for ID gens (#8383) | Erik Johnston | 2020-09-23 | 1 | -2/+2 |
| | | | This will allow us to hit the DB after we've finished using the generated stream ID. | ||||
* | Make StreamIdGen `get_next` and `get_next_mult` async (#8161) | Erik Johnston | 2020-08-25 | 1 | -2/+2 |
| | | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably. | ||||
* | Convert pusher databases to async/await. (#8075) | Patrick Cloke | 2020-08-14 | 1 | -49/+46 |
| | |||||
* | Convert misc database code to async (#8087) | Patrick Cloke | 2020-08-14 | 1 | -6/+3 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -0/+356 |