mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Because rate_limit_request_by_ip is the only caller of it, it is safe for us to inline RateLimitedIpAddr and remove this helper. This ensures that we have consistent internals for rate limiting functions, which all have a should_rate_limit check. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
23 KiB
23 KiB