synapse-product/synapse/rest/media
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
..
v0 Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
v1 Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
__init__.py Move rest APIs back under the rest directory 2015-01-22 16:10:07 +00:00