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 Replace custom DeferredTimeoutError with defer.TimeoutError 2018-09-19 11:07:29 +01:00
distributor.py Make Distributor run its processes as a background process 2018-07-18 20:55:05 +01:00
file_consumer.py run isort 2018-07-09 16:09:20 +10:00
frozenutils.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
httpresourcetree.py run isort 2018-07-09 16:09:20 +10:00
jsonobject.py Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
logcontext.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
logformatter.py run isort 2018-07-09 16:09:20 +10:00
logutils.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
manhole.py Fix manhole on py3 (pt 2) (#4067) 2018-10-19 22:26:00 +11:00
metrics.py Add in flight real time metrics for Measure blocks 2018-09-14 15:08:37 +01:00
module_loader.py pep8 2017-09-26 19:21:41 +01:00
msisdn.py run isort 2018-07-09 16:09:20 +10:00
ratelimitutils.py Make FederationRateLimiter queue requests properly 2018-07-13 16:19:40 +01:00
retryutils.py Improve the logging when handling a federation transaction (#3904) 2018-09-19 17:28:18 +01:00
rlimit.py run isort 2018-07-09 16:09:20 +10:00
stringutils.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
threepids.py fix PR nitpicking 2018-01-19 18:23:45 +00:00
versionstring.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
wheel_timer.py Move more xrange to six 2018-04-28 13:57:00 +02:00