synapse-product/synapse/replication/http
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 Fix deleting pushers when using sharded pushers. (#9465) 2021-02-22 21:14:42 +00:00
_base.py Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
account_data.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
devices.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
federation.py Prep work for removing outlier from internal_metadata (#9411) 2021-03-17 12:33:18 +00:00
login.py Fix the auth provider on the logins metric (#9573) 2021-03-10 18:15:03 +00:00
membership.py Use the proper Request in type hints. (#9515) 2021-03-01 12:23:46 -05:00
presence.py Convert replication code to async/await. (#7987) 2020-08-03 07:12:55 -04:00
push.py Fix deleting pushers when using sharded pushers. (#9465) 2021-02-22 21:14:42 +00:00
register.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
send_event.py Prep work for removing outlier from internal_metadata (#9411) 2021-03-17 12:33:18 +00:00
streams.py Convert replication code to async/await. (#7987) 2020-08-03 07:12:55 -04:00