0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-18 12:28:28 +02:00
dendrite/mediaapi/routing
Neil Alexander 6d4bd5d890
Rate limiting changes (#2519)
* Rate limiting changes

This makes the following changes:

* For logged in users, the rate limiting now applies to the device session rather than the remote IP address;
* For non-logged in users, the rate limiting continues to apply to remote address as it does today;
* It is now possible to add user IDs to the `exempt_user_ids` option under `rate_limiting` to exclude bots from rate limiting;
* Admin and appservice users are now exempt from rate limiting by default.

* Fix build with media API
2022-06-07 14:24:04 +01:00
..
download.go Return null if MaxFileSizeBytes is 0 (#2409) 2022-05-02 10:47:16 +02:00
routing.go Rate limiting changes (#2519) 2022-06-07 14:24:04 +01:00
upload.go Return null if MaxFileSizeBytes is 0 (#2409) 2022-05-02 10:47:16 +02:00
upload_test.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00