summary refs log tree commit diff
path: root/synapse/config/retention.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2023-06-13 12:31:08 -0500
committerGitHub <noreply@github.com>2023-06-13 12:31:08 -0500
commit0757d59ec4f3275e30907825b4dfb0fdbdce9006 (patch)
treeec66922bb297a4986af6f550c429b7b8a75c281b /synapse/config/retention.py
parentFix MSC3983 support: Use the unstable /keys/claim federation endpoint if mult... (diff)
downloadsynapse-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/config/retention.py')
0 files changed, 0 insertions, 0 deletions