- Oct 24, 2018
-
-
Travis Ralston authored
-
Travis Ralston authored
Debug tests Try printing the channel fix Import and use six Remove debugging Disable captcha Add some mocks Define the URL Fix the clock? Less rendering? use the other render Complete the dummy auth stage Fix last stage of the test Remove mocks we don't need
-
Travis Ralston authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
(We really don't need to kick off 10 builds for the branch as well as 10 for the PR)
-
Richard van der Hoff authored
Allow backslashes in event field filters
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Fix a number of flake8 errors
-
Erik Johnston authored
Add v2 state resolution algorithm
-
Richard van der Hoff authored
Fixes a bug introduced in https://github.com/matrix-org/synapse/pull/1783 which meant that single backslashes were not allowed in event field filters. The intention here is to allow single-backslashes, but disallow double-backslashes.
-
Richard van der Hoff authored
Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
-
Erik Johnston authored
-
Richard van der Hoff authored
Clean up the way logcontexts and threads work in the pushers
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Clean up room alias creation
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... and rename it, for even more sanity
-
- Oct 23, 2018
-
-
Travis Ralston authored
Handle HttpResponseException more safely for federated groups
-
Travis Ralston authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Wrap calls to deferToThread() in a thing which uses a child logcontext to attribute CPU usage to the right request. While we're in the area, remove the logcontext_tracer stuff, which is never used, and afaik doesn't work. Fixes #4064
-
Richard van der Hoff authored
Add information about the matrix-docker-ansible-deploy playbook
-
- Oct 22, 2018
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We don't do anything with the result, so this is needed to give this code a logcontext.
-
Richard van der Hoff authored
This brings it into line with on_new_notifications and on_new_receipts. It requires a little bit of hoop-jumping in EmailPusher to load the throttle params before the first loop.
-
Richard van der Hoff authored
`on_new_notifications` and `on_new_receipts` in `HttpPusher` and `EmailPusher` now always return synchronously, so we can remove the `defer.gatherResults` on their results, and the `run_as_background_process` wrappers can be removed too because the PusherPool methods will now complete quickly enough.
-
Richard van der Hoff authored
Each pusher has its own loop which runs for as long as it has work to do. This should run in its own background thread with its own logcontext, as other similar loops elsewhere in the system do - which means that CPU usage is consistently attributed to that loop, rather than to whatever request happened to start the loop.
-
Richard van der Hoff authored
simplifies the interface to _start_pushers
-
Richard van der Hoff authored
... and use it from start_pusher_by_id. This mostly simplifies start_pusher_by_id.
-
Richard van der Hoff authored
This is public (or at least, called from outside the class), so ought to have a better name.
-
Richard van der Hoff authored
Run MAU queries as background processes
-
Richard van der Hoff authored
Make psutil an explicit dependency
-
- Oct 21, 2018
-
-
Matthew Hodgson authored
-
- Oct 20, 2018
-
-
Richard van der Hoff authored
Fixes #3820
-
Amber Brown authored
-
- Oct 19, 2018
-
-
Richard van der Hoff authored
As of #4027, we require psutil to be installed, so it should be in our dependency list. We can also remove some of the conditional import code introduced by #992. Fixes #4062.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This fallback didn't work, and was removed in #4069.
-