summary refs log tree commit diff
path: root/tests/test_server.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-06-25 11:17:39 +0100
committerGitHub <noreply@github.com>2024-06-25 11:17:39 +0100
commitc89fea3fd1f47b43c4d500dd7d024b2f9b24d2ad (patch)
tree095015a5ba986bee1982e3c4f345a899fd712ac2 /tests/test_server.py
parentReintroduce "Reduce device lists replication traffic."" (#17361) (diff)
downloadsynapse-c89fea3fd1f47b43c4d500dd7d024b2f9b24d2ad.tar.xz
Limit amount of replication we send (#17358)
Fixes up #17333, where we failed to actually send less data (the
`DISTINCT` didn't work due to `stream_id` being different).

We fix this by making it so that every device list outbound poke for a
given user ID has the same stream ID. We can't change the query to only
return e.g. max stream ID as the receivers look up the destinations to
send to by doing `SELECT WHERE stream_id = ?`
Diffstat (limited to 'tests/test_server.py')
0 files changed, 0 insertions, 0 deletions