This commit is contained in:
Aevann1 2022-01-13 03:52:22 +02:00
parent c076e7abac
commit 60163c8c5b
2 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ r=redis.Redis(host=environ.get("REDIS_URL", "redis://localhost"), decode_respons
limiter = Limiter(
app,
key_func=get_ipaddr,
default_limits=["3/second;30/minute;100/hour;500/day"],
default_limits=["3/second;30/minute;200/hour;500/day"],
headers_enabled=True,
strategy="fixed-window"
)