diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-09-20 01:32:42 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-09-20 01:32:42 +0100 |
commit | 2a4b9ea233cfffa556fa63a37cffb24bfe133d82 (patch) | |
tree | 585e674188b95551c3fd68d015f0c3d0c2a824c9 /synapse/handlers/receipts.py | |
parent | Factor out _start_key_lookups (diff) | |
download | synapse-2a4b9ea233cfffa556fa63a37cffb24bfe133d82.tar.xz |
Consistency for how verify_request.deferred is called
Define that it is run with no log context, and make sure that happens. If we aren't careful to reset the logcontext, we can't bung the deferreds into defer.gatherResults etc. We don't actually do that directly, but we *do* resolve other deferreds from affected callbacks (notably the server_to_deferred map in _start_key_lookups), and those *do* get passed into defer.gatherResults. It turns out that this way ends up being least confusing.
Diffstat (limited to 'synapse/handlers/receipts.py')
0 files changed, 0 insertions, 0 deletions