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 /synapse/handlers/device.py | |
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 'synapse/handlers/device.py')
0 files changed, 0 insertions, 0 deletions