- Oct 24, 2018
-
-
Richard van der Hoff authored
Clean up the way logcontexts and threads work in the pushers
-
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.
-
Richard van der Hoff authored
Calculate absolute path for email templates
-
Richard van der Hoff authored
-
Amber Brown authored
-
Amber Brown authored
-
Richard van der Hoff authored
Make manhole work on Python 3 again
-
Erik Johnston authored
-
Erik Johnston authored
-
- Oct 18, 2018
-
-
Amber Brown authored
-
Amber Brown authored
-
Amber Brown authored
Use the right python when starting workers
-
Richard van der Hoff authored
We should use the same python to start the workers as we do for the main synapse (ie, the same one used to run synctl.)
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
this change has been released
-
Richard van der Hoff authored
-