summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-10-23 13:12:32 +0100
committerGitHub <noreply@github.com>2018-10-23 13:12:32 +0100
commit5c445114d356c9c23b99f0a2c4246be983a38b69 (patch)
tree81a82e1a752e1e8fa9abeb7ad7cf72841c75adda /changelog.d
parentMerge pull request #3698 from spantaleev/add-matrix-docker-ansible-deploy (diff)
downloadsynapse-5c445114d356c9c23b99f0a2c4246be983a38b69.tar.xz
Correctly account for cpu usage by background threads (#4074)
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
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/4074.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/4074.bugfix b/changelog.d/4074.bugfix
new file mode 100644
index 0000000000..b3b6b00243
--- /dev/null
+++ b/changelog.d/4074.bugfix
@@ -0,0 +1 @@
+Correctly account for cpu usage by background threads