diff options
author | Erik Johnston <erikj@element.io> | 2024-06-25 11:17:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 11:17:39 +0100 |
commit | c89fea3fd1f47b43c4d500dd7d024b2f9b24d2ad (patch) | |
tree | 095015a5ba986bee1982e3c4f345a899fd712ac2 /changelog.d | |
parent | Reintroduce "Reduce device lists replication traffic."" (#17361) (diff) | |
download | synapse-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 'changelog.d')
-rw-r--r-- | changelog.d/17358.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17358.misc b/changelog.d/17358.misc new file mode 100644 index 0000000000..d3ef0b3777 --- /dev/null +++ b/changelog.d/17358.misc @@ -0,0 +1 @@ +Handle device lists notifications for large accounts more efficiently in worker mode. |