mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 15:29:24 -05:00
44a498418c
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. |
||
---|---|---|
.. | ||
api | ||
appservice | ||
config | ||
crypto | ||
events | ||
handlers | ||
metrics | ||
replication | ||
rest | ||
storage | ||
util | ||
__init__.py | ||
test_distributor.py | ||
test_dns.py | ||
test_preview.py | ||
test_state.py | ||
test_test_utils.py | ||
test_types.py | ||
unittest.py | ||
utils.py |