Skip to content

Rate limiter counts all traffic in one per-IP bucket, causing 429s #275

Description

@aaronjae22

Users are rate-limited on endpoints they have barely touched.

The rate limiting middleware selects its limit per path but counts requests in a single bucket per IP across all paths.

This is a bug fix and an upgrade but also intents to implement LOLA spec intended behavior (https://swicg.github.io/activitypub-data-portability/lola#load-management-during-fetching-of-content)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions