Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Rate limit key share requests #8677

@erikjohnston

Description

@erikjohnston

There is a bug in one of the clients that causes a lot of cross user key share requests, which then stacks up in the device_inbox for devices leading to issues on clients (potentially, maybe). These should be both relatively rare and safe to drop, so we should rate limit them.

We may also want to consider dropping key share requests to devices that already have a large (ish) number of device messages in their inbox.

We should back out #8675 after this is done.

Metadata

Metadata

Assignees

Labels

A-PerformancePerformance, both client-facing and admin-facing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions