forked from rDrama/rDrama
double day application limit so it doesnt fuck with gamblers
parent
86c9f667e6
commit
e7b97ea1a7
|
@ -68,7 +68,7 @@ limiter = Limiter(
|
||||||
app=app,
|
app=app,
|
||||||
key_func=get_CF,
|
key_func=get_CF,
|
||||||
default_limits=[DEFAULT_RATELIMIT],
|
default_limits=[DEFAULT_RATELIMIT],
|
||||||
application_limits=["10/second;200/minute;5000/hour;10000/day"],
|
application_limits=["10/second;200/minute;5000/hour;20000/day"],
|
||||||
storage_uri=app.config["CACHE_REDIS_URL"],
|
storage_uri=app.config["CACHE_REDIS_URL"],
|
||||||
default_limits_deduct_when=lambda response: response.status_code < 400,
|
default_limits_deduct_when=lambda response: response.status_code < 400,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue