0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-07 02:17:00 +02:00
synapse/tests/crypto
Richard van der Hoff 44a498418c 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.
2018-01-16 15:49:42 +00:00
..
__init__.py
test_event_signing.py
test_keyring.py Optimise LoggingContext creation and copying 2018-01-16 15:49:42 +00:00