mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Merge pull request #2027 from matrix-org/rav/logcontext_leaks
A few fixes to logcontext things
This commit is contained in:
commit
eddce9d74a
12 changed files with 147 additions and 62 deletions
|
@ -933,8 +933,9 @@ class FederationHandler(BaseHandler):
|
|||
# lots of requests for missing prev_events which we do actually
|
||||
# have. Hence we fire off the deferred, but don't wait for it.
|
||||
|
||||
synapse.util.logcontext.reset_context_after_deferred(
|
||||
self._handle_queued_pdus(room_queue))
|
||||
synapse.util.logcontext.preserve_fn(self._handle_queued_pdus)(
|
||||
room_queue
|
||||
)
|
||||
|
||||
defer.returnValue(True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue