forked-synapse/tests/api
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
..
__init__.py Test ratelimiter 2014-09-02 15:16:26 +01:00
test_auth.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
test_filtering.py Convert additional test-cases to homeserver test case. (#9396) 2021-02-16 08:04:15 -05:00
test_ratelimiting.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00