bb
This commit is contained in:
parent
2aebbbba0e
commit
61729dd955
5 changed files with 8 additions and 8 deletions
|
@ -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;200/hour;500/day"],
|
||||
default_limits=["3/second;30/minute;200/hour;1000/day"],
|
||||
headers_enabled=True,
|
||||
strategy="fixed-window"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue