MatrixSynapse/synapse/rest/media/v1
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
..
__init__.py
_base.py
config_resource.py
download_resource.py
filepath.py
identicon_resource.py
media_repository.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
media_storage.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
preview_url_resource.py
storage_provider.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
thumbnail_resource.py
thumbnailer.py
upload_resource.py