forked-synapse/synapse
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
..
api PR feedback pt. 1 2018-10-12 11:26:18 +01:00
app Merge pull request #4076 from matrix-org/rav/fix_init_logcontexts 2018-10-22 14:46:59 +01:00
appservice Port http/ to Python 3 (#3771) 2018-09-06 00:10:47 +10:00
config Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
crypto Merge pull request #3826 from matrix-org/rav/logging_for_keyring 2018-09-12 20:43:47 +10:00
events Disable frozen dicts by default (#3987) 2018-10-02 22:53:47 +10:00
federation Fix incorrect truncation in get_missing_events 2018-10-17 17:35:26 +01:00
groups Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
handlers Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
http Make the metrics less racy (#4061) 2018-10-19 21:45:45 +11:00
metrics Fix exception in background metrics collection 2018-10-03 11:28:01 +01:00
module_api
push Calculate absolute path for email templates 2018-10-19 14:01:59 +01:00
replication Make workers work on Py3 (#4027) 2018-10-13 00:14:08 +11:00
res/templates Ship the email templates as package_data 2018-10-17 16:46:02 +01:00
rest Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
server_notices Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact 2018-08-24 17:00:37 +01:00
state Logging improvements 2018-09-26 17:36:14 +01:00
static/client Use recaptcha_ajax.js directly from Google 2018-08-22 14:30:49 +01:00
storage Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
streams
util Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
__init__.py 0.33.7 2018-10-18 14:57:32 +01:00
event_auth.py Sanitise error messages when user doesn't have permission to invite 2018-10-03 14:13:07 +01:00
notifier.py Make the metrics less racy (#4061) 2018-10-19 21:45:45 +11:00
python_dependencies.py Make psutil an explicit dependency 2018-10-19 21:51:15 +01:00
secrets.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
server.py Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups 2018-10-09 10:05:02 +01:00
server.pyi
types.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
visibility.py synapse/visibility.py: fix SyntaxError on py3.7 2018-10-14 20:08:17 +03:00