long2ice / fastapi-limiter

A request rate limiter for fastapi
https://github.com/long2ice/fastapi-limiter
Apache License 2.0
487 stars 53 forks source link

Use correct default for "identifier" and "callback" #2

Closed MatthewScholefield closed 3 years ago

MatthewScholefield commented 3 years ago

This allows configuring the global default through the FastAPILimiter.init method.

This fixes #1.

long2ice commented 3 years ago

Thanks, that's right.