A Starlette throttling library

fastapi rate-limiter starlette throttling
1 Open Issue Need Help Last updated: Jun 28, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Refactor the Traffik library's connection exemption mechanism from using exceptions to a sentinel value approach. This involves removing the `ThrottleMeta` metaclass, the `NoLimit` exception, and updating the code to use a sentinel object (`UNLIMITED`) to indicate exemption from throttling. The goal is to improve performance and simplify the code by avoiding exception handling in performance-critical paths.

Complexity: 3/5
bug good first issue performance refactor

A Starlette throttling library

Python
#fastapi#rate-limiter#starlette#throttling