Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use six.itervalues in some places | Adrian Tschira | 2018-04-15 | 1 | -1/+3 |
| | | | | | | There's more where that came from Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | 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 | ||||
* | Move storage functions for push calculations | Erik Johnston | 2018-02-27 | 1 | -6/+2 |
| | | | | This will allow push actions for an event to be calculated on workers. | ||||
* | 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/+17 |
| | | | | Signed-off-by: Silke <silke@slxh.eu> | ||||
* | Add a comment which might save some confusion | Richard van der Hoff | 2017-11-24 | 1 | -0/+1 |
| | |||||
* | Remove dead sync_callback | Richard van der Hoff | 2017-11-24 | 1 | -2/+0 |
| | | | | This is never used; let's remove it to stop confusing things. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_merged | Erik Johnston | 2017-09-19 | 1 | -49/+20 |
|\ | |||||
| * | Factor out common application start | Richard van der Hoff | 2017-08-15 | 1 | -49/+20 |
| | | | | | | | | | | We have 10 copies of this code, and I don't really want to update each one separately. | ||||
* | | Fix replication. And notify | Erik Johnston | 2017-07-20 | 1 | -0/+6 |
|/ | |||||
* | Make workers report to master for user ip updates | Erik Johnston | 2017-06-27 | 1 | -2/+2 |
| | |||||
* | Move get_presence_list_* to SlaveStore | Erik Johnston | 2017-04-11 | 1 | -11/+1 |
| | |||||
* | Move get_interested_parties | Erik Johnston | 2017-04-11 | 1 | -3/+2 |
| | |||||
* | Reduce federation presence replication traffic | Erik Johnston | 2017-04-10 | 1 | -4/+2 |
| | | | | | | | | This is mainly done by moving the calculation of where to send presence updates from the presence handler to the transaction queue, so we only need to send the presence event (and not the destinations) across the replication connection. Before we were duplicating by sending the full state across once per destination. | ||||
* | Merge pull request #2103 from matrix-org/erikj/no-double-encode | Erik Johnston | 2017-04-07 | 1 | -3/+1 |
|\ | | | | | Don't double encode replication data | ||||
| * | Don't double json encode typing replication data | Erik Johnston | 2017-04-05 | 1 | -3/+1 |
| | | |||||
* | | Comment | Erik Johnston | 2017-04-06 | 1 | -1/+1 |
| | | |||||
* | | Docs | Erik Johnston | 2017-04-06 | 1 | -0/+7 |
| | | |||||
* | | Don't immediately notify the master about users whose syncs have gone away | Erik Johnston | 2017-04-05 | 1 | -4/+36 |
|/ | |||||
* | Add the appropriate amount of preserve_fn | Erik Johnston | 2017-04-04 | 1 | -7/+6 |
| | |||||
* | Shuffle and comment synchrotron presence | Erik Johnston | 2017-04-04 | 1 | -9/+11 |
| | |||||
* | Update all the workers and master to use TCP replication | Erik Johnston | 2017-04-03 | 1 | -196/+110 |
| | |||||
* | Merge pull request #2033 from matrix-org/erikj/repl_speed | Erik Johnston | 2017-03-21 | 1 | -4/+8 |
|\ | | | | | Don't send the full event json over replication | ||||
| * | PEP8 | Erik Johnston | 2017-03-20 | 1 | -1/+0 |
| | | |||||
| * | Don't send the full event json over replication | Erik Johnston | 2017-03-17 | 1 | -3/+8 |
| | | |||||
* | | Run the reactor with the sentinel logcontext | Richard van der Hoff | 2017-03-18 | 1 | -2/+7 |
|/ | | | | | | 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. | ||||
* | Don't recreate so many sets | Erik Johnston | 2017-03-16 | 1 | -2/+1 |
| | |||||
* | Refactor logger config for workers | Richard van der Hoff | 2017-03-10 | 1 | -1/+1 |
| | | | | - to make it easier to add more config options. | ||||
* | Add db functions needed for room initial sync to slave | Mark Haines | 2017-02-13 | 1 | -0/+4 |
| | |||||
* | Remove debug logging | Erik Johnston | 2017-01-30 | 1 | -1/+0 |
| | |||||
* | Hook device list updates to replication | Erik Johnston | 2017-01-27 | 1 | -1/+26 |
| | |||||
* | 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/+2 |
| | |||||
* | Support /initialSync in synchrotron worker | Erik Johnston | 2016-09-21 | 1 | -0/+6 |
| | |||||
* | Enable state caches on workers | Erik Johnston | 2016-09-15 | 1 | -0/+1 |
| | |||||
* | Comment | Erik Johnston | 2016-09-09 | 1 | -0/+3 |
| | |||||
* | Fix up the calls to the notifier for device messages | Mark Haines | 2016-09-01 | 1 | -0/+3 |
| | |||||
* | Add new direct message storage functions to slave store | Erik Johnston | 2016-08-30 | 1 | -0/+2 |
| | |||||
* | Remove broken cache stuff | Erik Johnston | 2016-08-15 | 1 | -5/+0 |
| | |||||
* | Implement cache replication stream | Erik Johnston | 2016-08-15 | 1 | -13/+0 |
| | |||||
* | Make synchrotron accept /events | Erik Johnston | 2016-08-12 | 1 | -2/+34 |
| | |||||
* | Synced up synchrotron set_state with PresenceHandler set_state | Will Hunt | 2016-08-11 | 1 | -1/+1 |
| | |||||
* | Add federation /version API | Erik Johnston | 2016-08-05 | 1 | -1/+1 |
| | |||||
* | Fix setting gc thresholds in the workers | Mark Haines | 2016-06-17 | 1 | -1/+2 |
| | |||||
* | Use worker_ prefixes for worker config, use existing support for multiple ↵ | Mark Haines | 2016-06-16 | 1 | -17/+12 |
| | | | | config files | ||||
* | Access the event_cache_size directly from the server object. | Mark Haines | 2016-06-16 | 1 | -3/+3 |
| | | | | | 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 | -2/+3 |
| | |||||
* | Inline the synchrotron and pusher configs into the main config | Mark Haines | 2016-06-16 | 1 | -103/+34 |
| | |||||
* | Add gc_threshold to pusher and synchrotron | Erik Johnston | 2016-06-07 | 1 | -0/+14 |
| | |||||
* | Allow setting of gc.set_thresholds | Erik Johnston | 2016-06-07 | 1 | -5/+10 |
| | |||||
* | Merge pull request #845 from matrix-org/markjh/synchrotron_presence | Mark Haines | 2016-06-06 | 1 | -1/+4 |
|\ | | | | | Fix a KeyError in the synchrotron presence | ||||
| * | Fix a KeyError in the synchrotron presence | Mark Haines | 2016-06-06 | 1 | -1/+4 |
| | | |||||
* | | Yield on the sleeps intended to backoff replication | Mark Haines | 2016-06-06 | 1 | -1/+1 |
|/ | |||||
* | Fix spelling | Mark Haines | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Add get_presence_list_accepted to the broken caches in synchrotron | Mark Haines | 2016-06-03 | 1 | -4/+9 |
| | |||||
* | Clear the list of ongoing syncs on shutdown | Mark Haines | 2016-06-03 | 1 | -0/+9 |
| | |||||
* | Appease flake8 | Mark Haines | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Use ClientIpStore to record client ips | Mark Haines | 2016-06-03 | 1 | -3/+4 |
| | |||||
* | Send updates to the syncing users every ten seconds or immediately if ↵ | Mark Haines | 2016-06-03 | 1 | -10/+43 |
| | | | | they've just come online | ||||
* | Add a separate process that can handle /sync requests | Mark Haines | 2016-06-03 | 1 | -0/+467 |