summary refs log tree commit diff
path: root/synctl
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-06-29 19:55:22 +0100
committerGitHub <noreply@github.com>2021-06-29 19:55:22 +0100
commitc54db67d0ea5b5967b7ea918c66a222a75b8ced1 (patch)
tree9830e36ff6bd7ca95e790bac4cb0bb3c0029a081 /synctl
parentAdd a distributed lock (#10269) (diff)
downloadsynapse-c54db67d0ea5b5967b7ea918c66a222a75b8ced1.tar.xz
Handle inbound events from federation asynchronously (#10272)
Fixes #9490

This will break a couple of SyTest that are expecting failures to be added to the response of a federation /send, which obviously doesn't happen now that things are asynchronous.

Two drawbacks:

    Currently there is no logic to handle any events left in the staging area after restart, and so they'll only be handled on the next incoming event in that room. That can be fixed separately.
    We now only process one event per room at a time. This can be fixed up further down the line.
Diffstat (limited to 'synctl')
0 files changed, 0 insertions, 0 deletions