summary refs log tree commit diff
path: root/synapse/crypto/event_signing.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-09-20 01:32:42 +0100
committerRichard van der Hoff <richard@matrix.org>2017-09-20 01:32:42 +0100
commitc5b0e9f48542516a4fa82247c81e499894340cf5 (patch)
treeedbecbb4157ac30165a2d6bef434091fcaaed45d /synapse/crypto/event_signing.py
parentFix potential race in _start_key_lookups (diff)
downloadsynapse-c5b0e9f48542516a4fa82247c81e499894340cf5.tar.xz
Turn _start_key_lookups into an inlineCallbacks function
... which means that logcontexts can be correctly preserved for the stuff it
does.

get_server_verify_keys is now called with the logcontext, so needs to
preserve_fn when it fires off its nested inlineCallbacks function.

Also renames get_server_verify_keys to reflect the fact it's meant to be
private.
Diffstat (limited to 'synapse/crypto/event_signing.py')
0 files changed, 0 insertions, 0 deletions