Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting stale devices causes lots of device updates to be sent out over federation #14651

Open
matrixbot opened this issue Dec 20, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 20, 2023

This issue has been migrated from #14651.


matrix-org/synapse#14595 introduced a background job code that runs in DeviceWorkerHandler.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.

@matrixbot matrixbot changed the title Dummy issue Deleting stale devices causes lots of device updates to be sent out over federation Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant