summary refs log tree commit diff
path: root/synapse/http/site.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-11 22:40:51 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-16 15:49:42 +0000
commit44a498418c62a835aae9bff8550f844888b3ab84 (patch)
tree4b44e24ae72cb2459af91ca6471da98f895b9c2e /synapse/http/site.py
parentMerge pull request #2785 from matrix-org/rav/reorganise_metrics_again (diff)
downloadsynapse-44a498418c62a835aae9bff8550f844888b3ab84.tar.xz
Optimise LoggingContext creation and copying
It turns out that the only thing we use the __dict__ of LoggingContext for is
`request`, and given we create lots of LoggingContexts and then copy them every
time we do a db transaction or log line, using the __dict__ seems a bit
redundant. Let's try to optimise things by making the request attribute
explicit.
Diffstat (limited to 'synapse/http/site.py')
0 files changed, 0 insertions, 0 deletions