mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 19:54:48 -05:00
c5c24c239b
preserve_context_over_fn is essentially broken, because (a) it pointlessly drops the current logcontext before calling its wrapped function, which means we don't get any useful logcontexts for _handle_key_deferred; (b) it wraps the resulting deferred in a _PreservingContextDeferred, which is very dangerous because you then can't yield on it without leaking context back into the reactor. Instead, let's specify that the resultant deferreds call their callbacks with no logcontext. |
||
---|---|---|
.. | ||
__init__.py | ||
context_factory.py | ||
event_signing.py | ||
keyclient.py | ||
keyring.py |