1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-09 01:16:50 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Richard van der Hoff
5c445114d3
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
2018-10-23 13:12:32 +01:00