mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 23:50:52 +00:00
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>
1 line
134 B
Text
1 line
134 B
Text
Fix a long-standing bug where a finished logging context would be re-started when Synapse failed to persist an event from federation.
|