forked from MirrorHub/synapse
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. |
||
---|---|---|
.. | ||
caches | ||
__init__.py | ||
test_clock.py | ||
test_dict_cache.py | ||
test_expiring_cache.py | ||
test_limiter.py | ||
test_linearizer.py | ||
test_logcontext.py | ||
test_lrucache.py | ||
test_rwlock.py | ||
test_snapshot_cache.py | ||
test_treecache.py | ||
test_wheel_timer.py |