synapse-product/synapse/rest/client
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711)
This should fix a class of bug where we forget to check if e.g. the appservice shouldn't be ratelimited.

We also check the `ratelimit_override` table to check if the user has ratelimiting disabled. That table is really only meant to override the event sender ratelimiting, so we don't use any values from it (as they might not make sense for different rate limits), but we do infer that if ratelimiting is disabled for the user we should disabled all ratelimits.

Fixes #9663
2021-03-30 12:06:09 +01:00
..
v1 Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
v2_alpha Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
transactions.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
versions.py Incorporate review 2021-03-19 18:19:50 +01:00