mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 09:35:45 +03:00
0757d59ec4
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
1 line
96 B
Gherkin
1 line
96 B
Gherkin
Improve `/messages` response time by avoiding backfill when we already have messages to return.
|