sanic-limiter
sanic-limiter copied to clipboard
Provides rate limiting features for Sanic. Supports in-memory, redis and memcache as storage.
no error found but it real not work
Limiting does not work with a route containing route params like: ``` @app.route('/tag/') ```
How do you write a Redis connection with authentication? I’ve tried many variations and they don’t work: ```py f'redis://{redis_host}:{redis_port}' f'redis://{redis_password}@{redis_host}:{redis_port}' f'redis://default:{redis_password}@{redis_host}:{redis_port}' ``` Have you considered using `aioredis` instead? using the...
websocket routes are wrapped by sanic. Error log ``` Traceback (most recent call last): File "C:\Users\abc\AppData\Local\pypoetry\Cache\virtualenvs\ember-VqhvFD7x-py3.9\lib\site-packages\sanic\app.py", line 908, in handle_request response = await self._run_request_middleware( File "C:\Users\abc\AppData\Local\pypoetry\Cache\virtualenvs\ember-VqhvFD7x-py3.9\lib\site-packages\sanic\app.py", line 1265, in _run_request_middleware...
The pypi version is buggy as reported here #19
There are some exception in sanic-limiter: I have three file like this: ``` text ├──server.py ├──Limiter.py └──Views.py ``` I declare variable in Limiter.py : ```python from sanic_limiter import Limiter def...
Hi, I'm using [sanic-jwt-extended](https://sanic-jwt-extended.readthedocs.io/en/latest/) for authentication for my app. The issue is that all functions provided by the library are `async`. When I tried to use my custom async function...
It seems that `limits` is used here, but wouldn't it use the blocking non asyncio redis client and block the asyncio event loop?
I am using your limiter, which is great! However, I can’t seem to redirect user to a custom page using the exception catching mechanism in sanic. For example: ```py import...