summary refs log tree commit diff
path: root/changelog.d/15737.feature
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 /changelog.d/15737.feature
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 'changelog.d/15737.feature')
-rw-r--r--changelog.d/15737.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15737.feature b/changelog.d/15737.feature
new file mode 100644
index 0000000000..9a547b5ebd
--- /dev/null
+++ b/changelog.d/15737.feature
@@ -0,0 +1 @@
+Improve `/messages` response time by avoiding backfill when we already have messages to return.