Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement a structured logging output system. (#5680) | Amber Brown | 2019-08-28 | 1 | -2/+2 |
| | |||||
* | Call startup commands as system triggers. | Erik Johnston | 2019-07-22 | 1 | -1/+3 |
| | | | | | This helps ensures that we only consider ourselves "up" once all the startup functions have completed. | ||||
* | Support Prometheus_client 0.4.0+ (#5636) | Amber Brown | 2019-07-18 | 1 | -2/+1 |
| | |||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Fix /messages on worker when no token supplied | Erik Johnston | 2019-06-21 | 1 | -0/+2 |
| | |||||
* | Support pagination API in client_reader worker | Erik Johnston | 2019-06-21 | 1 | -0/+2 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -16/+13 |
| | |||||
* | Neilj/ensure get profileinfo available in client reader slaved store (#5213) | Neil Johnson | 2019-05-22 | 1 | -0/+2 |
| | | | * expose SlavedProfileStore to ClientReaderSlavedStore | ||||
* | Revert "expose SlavedProfileStore to ClientReaderSlavedStore (#5200)" | Richard van der Hoff | 2019-05-20 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | This reverts commit ce5bcefc609db40740c692bd53a1ef84ab675e8c. This caused: ``` Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/synapse/src/synapse/app/client_reader.py", line 32, in <module> from synapse.replication.slave.storage import SlavedProfileStore ImportError: cannot import name 'SlavedProfileStore' from 'synapse.replication.slave.storage' (/home/synapse/src/synapse/replication/slave/storage/__init__.py) error starting synapse.app.client_reader('/home/synapse/config/workers/client_reader.yaml') (exit code: 1); see above for logs ``` | ||||
* | expose SlavedProfileStore to ClientReaderSlavedStore (#5200) | Neil Johnson | 2019-05-17 | 1 | -0/+2 |
| | | | * expose SlavedProfileStore to ClientReaderSlavedStore | ||||
* | VersionRestServlet doesn't take a param | Erik Johnston | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | Move some rest endpoints to client reader | Erik Johnston | 2019-04-15 | 1 | -4/+7 |
| | |||||
* | Allow /keys/{changes,query} API to run on worker | Erik Johnston | 2019-03-04 | 1 | -0/+11 |
| | |||||
* | Move /account/3pid to client_reader | Erik Johnston | 2019-02-27 | 1 | -0/+2 |
| | |||||
* | Split /login into client_reader | Erik Johnston | 2019-02-18 | 1 | -0/+2 |
| | |||||
* | Split out registration to worker | Erik Johnston | 2019-02-18 | 1 | -0/+2 |
| | | | | | | | | This allows registration to be handled by a worker, though the actual write to the database still happens on master. Note: due to the in-memory session map all registration requests must be handled by the same worker. | ||||
* | Deduplicate some code in synapse.app (#4567) | Amber Brown | 2019-02-08 | 1 | -12/+1 |
| | |||||
* | Fix worker TLS (#4492) | Amber Brown | 2019-01-28 | 1 | -6/+6 |
| | | | | | | | | * load cert * changelog * fix | ||||
* | Replaced all occurences of e.message with str(e) | Schnuffle | 2018-09-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Schnuffle <schnuffle@github.com> | ||||
* | Fix some instances of ExpiringCache not expiring cache items | Erik Johnston | 2018-09-21 | 1 | -1/+0 |
| | | | | | | | | ExpiringCache required that `start()` be called before it would actually start expiring entries. A number of places didn't do that. This PR removes `start` from ExpiringCache, and automatically starts backround reaping process on creation instead. | ||||
* | Make sure that we close db connections opened during init | Richard van der Hoff | 2018-08-28 | 1 | -4/+1 |
| | | | | | | | | | We should explicitly close any db connections we open, because failing to do so can block other transactions as per https://github.com/matrix-org/synapse/issues/3682. Let's also try to factor out some of the boilerplate by having server classes define their datastore class rather than duplicating the whole of `setup`. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-08-15 | 1 | -0/+2 |
|\ | | | | | | | erikj/split_federation | ||||
| * | Merge branch 'develop' into send_sni_for_federation_requests | Richard van der Hoff | 2018-07-27 | 1 | -1/+15 |
| |\ | |||||
| * \ | Merge remote-tracking branch 'upstream/develop' into ↵ | Jeroen | 2018-07-14 | 1 | -2/+3 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | send_sni_for_federation_requests # Conflicts: # synapse/crypto/context_factory.py | ||||
| * | | | send SNI for federation requests | Jeroen | 2018-06-24 | 1 | -0/+2 |
| | | | | |||||
* | | | | Rename slave TransactionStore to SlaveTransactionStore | Erik Johnston | 2018-08-15 | 1 | -2/+2 |
| |_|/ |/| | | |||||
* | | | Replace usage of get_current_toke with StreamToken.START | Erik Johnston | 2018-07-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | This allows us to handle /context/ requests on the client_reader worker without having to pull in all the various stream handlers (e.g. precence, typing, pushers etc). The only thing the token gets used for is pagination, and that ignores everything but the room portion of the token. | ||||
* | | | Add some room read only APIs to client_reader | Erik Johnston | 2018-07-18 | 1 | -1/+13 |
| |/ |/| | |||||
* | | run isort | Amber Brown | 2018-07-09 | 1 | -2/+3 |
|/ | |||||
* | The flag is named enable_metrics, not collect_metrics | Travis Ralston | 2018-06-12 | 1 | -1/+1 |
| | | | Signed-off-by: Travis Ralston <travpc@gmail.com> | ||||
* | Run Prometheus on a different port, optionally. (#3274) | Amber Brown | 2018-05-31 | 1 | -2/+9 |
| | |||||
* | Set Server header in SynapseRequest | Richard van der Hoff | 2018-05-10 | 1 | -0/+1 |
| | | | | | | | | | | | | (instead of everywhere that writes a response. Or rather, the subset of places which write responses where we haven't forgotten it). This also means that we don't have to have the mysterious version_string attribute in anything with a request handler. Unfortunately it does mean that we have to pass the version string wherever we instantiate a SynapseSite, which has been c&ped 150 times, but that is code that ought to be cleaned up anyway really. | ||||
* | 404 correctly on missing paths via NoResource | Matthew Hodgson | 2018-03-23 | 1 | -2/+2 |
| | | | | fixes https://github.com/matrix-org/synapse/issues/2043 and https://github.com/matrix-org/synapse/issues/2029 | ||||
* | Don't build handlers on workers unnecessarily | Erik Johnston | 2018-03-13 | 1 | -1/+0 |
| | |||||
* | Factor out get_db_conn to HomeServer base class | Richard van der Hoff | 2018-01-26 | 1 | -13/+0 |
| | | | | | This function is identical to all subclasses, so we may as well push it up to the base class to reduce duplication (and make use of it in the tests) | ||||
* | Implement listen_tcp method in remaining workers | Silke | 2017-12-18 | 1 | -21/+18 |
| | | | | Signed-off-by: Silke <silke@slxh.eu> | ||||
* | Factor out common application start | Richard van der Hoff | 2017-08-15 | 1 | -42/+11 |
| | | | | | We have 10 copies of this code, and I don't really want to update each one separately. | ||||
* | Make workers report to master for user ip updates | Erik Johnston | 2017-06-27 | 1 | -2/+2 |
| | |||||
* | Update all the workers and master to use TCP replication | Erik Johnston | 2017-04-03 | 1 | -17/+5 |
| | |||||
* | Add slave transaction store | Erik Johnston | 2017-03-24 | 1 | -0/+2 |
| | |||||
* | Run the reactor with the sentinel logcontext | Richard van der Hoff | 2017-03-18 | 1 | -2/+6 |
| | | | | | | This fixes a class of 'Unexpected logcontext' messages, which were happening because the logcontext was somewhat arbitrarily swapping between the sentinel and the `run` logcontext. | ||||
* | Refactor logger config for workers | Richard van der Hoff | 2017-03-10 | 1 | -1/+1 |
| | | | | - to make it easier to add more config options. | ||||
* | Restore default bind address | Erik Johnston | 2017-01-10 | 1 | -10/+2 |
| | |||||
* | Fix check for bind_address | Johannes Löthberg | 2016-12-20 | 1 | -2/+2 |
| | | | | | | | The empty string is a valid setting for the bind_address option, so explicitly check for None here instead. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||||
* | Add support for specifying multiple bind addresses | Johannes Löthberg | 2016-12-18 | 1 | -20/+34 |
| | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||||
* | Respect use_frozen_dicts option in workers | Erik Johnston | 2016-11-08 | 1 | -0/+4 |
| | |||||
* | fix logger for client_reader worker | Matthew Hodgson | 2016-09-17 | 1 | -1/+1 |
| | |||||
* | Enable state caches on workers | Erik Johnston | 2016-09-15 | 1 | -0/+1 |
| | |||||
* | Split out public room list into a worker process | Erik Johnston | 2016-09-14 | 1 | -0/+215 |