Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Oct 19, 2024
1 parent 99c9f59 commit 0578b1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deadlock_data_api/rate_limiter/limiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def apply_limits(
ip_limits: list[RateLimit],
key_default_limits: list[RateLimit] | None = None,
):
LOGGER.info(f"Applying rate limits: {key=}")
ip = request.headers.get("CF-Connecting-IP", request.client.host)
api_key = request.headers.get("X-API-Key", request.query_params.get("api_key"))
api_key = api_key.lstrip("HEXE-") if utils.is_valid_uuid(api_key) else None
Expand Down

0 comments on commit 0578b1c

Please sign in to comment.