Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -15/+9 |
| | |||||
* | Additional type hints for config module. (#11465) | Patrick Cloke | 2021-12-01 | 1 | -1/+3 |
| | | | | This adds some misc. type hints to helper methods used in the `synapse.config` module. | ||||
* | Enable passing typing stream writers as a list. (#11237) | Nick Barrett | 2021-11-03 | 1 | -3/+15 |
| | | | | This makes the typing stream writer config match the other stream writers that only currently support a single worker. | ||||
* | Split presence out of master (#9820) | Erik Johnston | 2021-04-23 | 1 | -1/+26 |
| | |||||
* | 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>` | ||||
* | Clean up `ShardedWorkerHandlingConfig` (#9466) | Erik Johnston | 2021-02-24 | 1 | -7/+86 |
| | | | | | | | | | | | | | | | | | * Split ShardedWorkerHandlingConfig This is so that we have a type level understanding of when it is safe to call `get_instance(..)` (as opposed to `should_handle(..)`). * Remove special cases in ShardedWorkerHandlingConfig. `ShardedWorkerHandlingConfig` tried to handle the various different ways it was possible to configure federation senders and pushers. This led to special cases that weren't hit during testing. To fix this the handling of the different cases is moved from there and `generic_worker` into the worker config class. This allows us to have the logic in one place and allows the rest of the code to ignore the different cases. | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -6/+13 |
| | | | | | | | - 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 | ||||
* | Allow moving account data and receipts streams off master (#9104) | Erik Johnston | 2021-01-18 | 1 | -1/+17 |
| | |||||
* | Allow running sendToDevice on workers (#9044) | Erik Johnston | 2021-01-07 | 1 | -1/+9 |
| | |||||
* | Add authentication to replication endpoints. (#8853) | Patrick Cloke | 2020-12-04 | 1 | -0/+10 |
| | | | | Authentication is done by checking a shared secret provided in the Synapse configuration file. | ||||
* | Allow background tasks to be run on a separate worker. (#8369) | Patrick Cloke | 2020-10-02 | 1 | -0/+18 |
| | |||||
* | Add experimental support for sharding event persister. Again. (#8294) | Erik Johnston | 2020-09-14 | 1 | -10/+27 |
| | | | | | | This is *not* ready for production yet. Caveats: 1. We should write some tests... 2. The stream token that we use for events can get stalled at the minimum position of all writers. This means that new events may not be processed and e.g. sent down sync streams if a writer isn't writing or is slow. | ||||
* | Revert "Add experimental support for sharding event persister. (#8170)" (#8242) | Brendan Abolivier | 2020-09-04 | 1 | -27/+10 |
| | | | | | | | * Revert "Add experimental support for sharding event persister. (#8170)" This reverts commit 82c1ee1c22a87b9e6e3179947014b0f11c0a1ac3. * Changelog | ||||
* | Add experimental support for sharding event persister. (#8170) | Erik Johnston | 2020-09-02 | 1 | -10/+27 |
| | | | | | | This is *not* ready for production yet. Caveats: 1. We should write some tests... 2. The stream token that we use for events can get stalled at the minimum position of all writers. This means that new events may not be processed and e.g. sent down sync streams if a writer isn't writing or is slow. | ||||
* | Update worker docs with recent enhancements (#7969) | Erik Johnston | 2020-07-29 | 1 | -1/+48 |
| | |||||
* | Allow moving typing off master (#7869) | Erik Johnston | 2020-07-16 | 1 | -9/+10 |
| | |||||
* | Create a ListenerConfig object (#7681) | Richard van der Hoff | 2020-06-16 | 1 | -17/+7 |
| | | | | | | | | | | This ended up being a bit more invasive than I'd hoped for (not helped by generic_worker duplicating some of the code from homeserver), but hopefully it's an improvement. The idea is that, rather than storing unstructured `dict`s in the config for the listener configurations, we instead parse it into a structured `ListenerConfig` object. | ||||
* | Add option to move event persistence off master (#7517) | Erik Johnston | 2020-05-22 | 1 | -2/+28 |
| | |||||
* | Add `instance_map` config and route replication calls (#7495) | Erik Johnston | 2020-05-14 | 1 | -0/+17 |
| | |||||
* | Refactor HomeserverConfig so it can be typechecked (#6137) | Amber Brown | 2019-10-10 | 1 | -0/+2 |
| | |||||
* | fix broken copyrights | Matthew Hodgson | 2019-09-23 | 1 | -1/+1 |
| | |||||
* | Fix logging in workers (#5729) | Amber Brown | 2019-07-22 | 1 | -0/+1 |
| | | | This also adds a worker blacklist. | ||||
* | Remove non-dedicated logging options and command line arguments (#5678) | Amber Brown | 2019-07-19 | 1 | -6/+0 |
| | |||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config | ||||
* | Drop support for cpu_affinity (#5525) | Richard van der Hoff | 2019-06-22 | 1 | -1/+0 |
| | | | This has no useful purpose on python3, and is generally a source of confusion. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -7/+9 |
| | |||||
* | Correctly handle all command line options | Erik Johnston | 2019-03-14 | 1 | -1/+23 |
| | |||||
* | Allow passing --daemonize to workers | Erik Johnston | 2019-03-13 | 1 | -0/+4 |
| | |||||
* | Add replication http endpoint for event sending | Erik Johnston | 2018-02-07 | 1 | -0/+8 |
| | |||||
* | Actually make it work | Erik Johnston | 2018-01-12 | 1 | -0/+5 |
| | |||||
* | Allow configuration of CPU affinity | Richard van der Hoff | 2017-08-15 | 1 | -0/+1 |
| | | | | | Make it possible to set the CPU affinity in the config file, so that we don't need to remember to do it manually every time. | ||||
* | Add a frontend proxy | Erik Johnston | 2017-07-07 | 1 | -0/+2 |
| | |||||
* | Remove unused worker config option | Erik Johnston | 2017-04-04 | 1 | -1/+0 |
| | |||||
* | Update all the workers and master to use TCP replication | Erik Johnston | 2017-04-03 | 1 | -0/+3 |
| | |||||
* | Make worker listener config backwards compat | Erik Johnston | 2017-01-20 | 1 | -0/+10 |
| | |||||
* | Use worker_ prefixes for worker config, use existing support for multiple ↵ | Mark Haines | 2016-06-16 | 1 | -41/+8 |
| | | | | config files | ||||
* | Access the event_cache_size directly from the server object. | Mark Haines | 2016-06-16 | 1 | -14/+0 |
| | | | | | This means that the workers can override the event_cache_size directly without clobbering the value in the main synapse config. | ||||
* | Access replication_url from the worker config directly | Mark Haines | 2016-06-16 | 1 | -4/+0 |
| | |||||
* | Comment on what's going on in clobber_with_worker_config | Mark Haines | 2016-06-16 | 1 | -1/+12 |
| | |||||
* | Add worker config module | Mark Haines | 2016-06-16 | 1 | -0/+71 |