diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-03-30 13:22:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 13:22:24 +0100 |
commit | f9b4bb05e05694f3000df2bc5331b1aaa501575c (patch) | |
tree | 0e1af7919b22fc4debd1662ee626d8b70d43a646 /synapse/util/jsonobject.py | |
parent | Use txn.fetchall() so we can reuse txn (diff) | |
download | synapse-f9b4bb05e05694f3000df2bc5331b1aaa501575c.tar.xz |
Fix the logcontext handling in the cache wrappers (#2077)
The cache wrappers had a habit of leaking the logcontext into the reactor while the lookup function was running, and then not restoring it correctly when the lookup function had completed. It's all the fault of `preserve_context_over_{fn,deferred}` which are basically a bit broken.
Diffstat (limited to 'synapse/util/jsonobject.py')
0 files changed, 0 insertions, 0 deletions