mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 15:43:32 +00:00
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
2 lines
96 B
Gherkin
2 lines
96 B
Gherkin
Improve `/messages` response time by avoiding backfill when we already have messages to return.
|