diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-06-17 10:22:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 10:22:50 +0100 |
commit | 9372f6f842e3f8c0166d68a3a49ccc73a76954ea (patch) | |
tree | 0fd9be80519f0e258f699510a864a72fb1c0f9f1 /changelog.d | |
parent | Add desc to `get_earliest_token_for_stats` (#13085) (diff) | |
download | synapse-9372f6f842e3f8c0166d68a3a49ccc73a76954ea.tar.xz |
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>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/13089.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13089.misc b/changelog.d/13089.misc new file mode 100644 index 0000000000..5868507cb7 --- /dev/null +++ b/changelog.d/13089.misc @@ -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. |