The library does not directly enforce blocking. Instead, it signals when predefined usage limits are exceeded, allowing the consuming application to decide how to respond.
There are two blocking levels:
Service level: A temporary restriction applied when the user exceeds the Requests Per Minute (RPM) limit. Access is automatically restored once usage falls below the threshold, requiring no manual intervention.
User level: A permanent escalation applied to users who repeatedly exceed limits or trigger critical conditions. Only an administrator can manually restore access at this level.
Max RPM: The maximum number of requests per minute allowed for a given service.Max RPD: The maximum number of requests per 24-hour period permitted for that same service.
This design offers flexibility by separating limit detection from enforcement, ensuring adaptable rate control policies.
Unscheduled a timer
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)