mirror of https://github.com/watcha-fr/synapse
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>code_spécifique_watcha
parent
8ceed5e6b5
commit
9372f6f842
@ -0,0 +1 @@ |
||||
Fix a long-standing bug where a finished logging context would be re-started when Synapse failed to persist an event from federation. |
Loading…
Reference in new issue