MatrixSynapse/synapse/util
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
..
caches Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
__init__.py Remove unnecessary extra function call layer 2018-10-08 14:06:19 +01:00
async_helpers.py
distributor.py
file_consumer.py
frozenutils.py
httpresourcetree.py
jsonobject.py
logcontext.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
logformatter.py
logutils.py
manhole.py Fix manhole on py3 (pt 2) (#4067) 2018-10-19 22:26:00 +11:00
metrics.py
module_loader.py
msisdn.py
ratelimitutils.py
retryutils.py Improve the logging when handling a federation transaction (#3904) 2018-09-19 17:28:18 +01:00
rlimit.py
stringutils.py
threepids.py
versionstring.py
wheel_timer.py