This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Deleting stale devices causes lots of device updates to be sent out over federation #14651
Labels
A-Device-List-Tracking
Telling clients about other devices. Often related to E2EE.
A-Federation
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
#14595 introduced
a background jobcode that runs inDeviceWorkerHandler.check_device_registered
to remove old, non-e2ee devices for users that had >50 devices, in an attempt to reduce the number of devices on homeservers.When this was applied to matrix.org, it ended up spamming homeservers over federation with device list updates.
We may want to consider a rate-limit for the amount of devices we remove in this - and future - cleanup jobs.
The text was updated successfully, but these errors were encountered: