forked-synapse/changelog.d/13089.misc
Sean Quah 9372f6f842
Fix logging context misuse when we fail to persist a federation event (#13089)
When we fail to persist a federation event, we kick off a task to remove
its push actions in the background, using the current logging context.
Since we don't `await` that task, we may finish our logging context
before the task finishes. There's no reason to not `await` the task, so
let's do that.

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-06-17 10:22:50 +01:00

2 lines
134 B
Plaintext

Fix a long-standing bug where a finished logging context would be re-started when Synapse failed to persist an event from federation.