diff options
author | Eric Eastwood <erice@element.io> | 2023-06-13 12:31:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 12:31:08 -0500 |
commit | 0757d59ec4f3275e30907825b4dfb0fdbdce9006 (patch) | |
tree | ec66922bb297a4986af6f550c429b7b8a75c281b /synapse/events | |
parent | Fix MSC3983 support: Use the unstable /keys/claim federation endpoint if mult... (diff) | |
download | synapse-0757d59ec4f3275e30907825b4dfb0fdbdce9006.tar.xz |
Avoid backfill when we already have messages to return (#15737)
We now only block the client to backfill when we see a large gap in the events (more than 2 events missing in a row according to `depth`), more than 3 single-event holes, or not enough messages to fill the response. Otherwise, we return the messages directly to the client and backfill in the background for eventual consistency sake. Fix https://github.com/matrix-org/synapse/issues/15696
Diffstat (limited to 'synapse/events')
0 files changed, 0 insertions, 0 deletions