This commit is contained in:
Aevann1 2022-01-13 02:06:24 +02:00
parent 034bc754f8
commit 047a13ff2c
2 changed files with 1 additions and 2 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;200/day"],
default_limits=["3/second;30/minute;100/hour;500/day"],
headers_enabled=True,
strategy="fixed-window"
)