Increase limiter time

This commit is contained in:
Jose De Freitas 2021-03-19 13:51:40 -05:00
parent 8a154b4bf6
commit 0e32b74c5b

View File

@ -9,7 +9,7 @@ app = Flask(__name__)
limiter = Limiter( limiter = Limiter(
app, app,
key_func=get_remote_address, key_func=get_remote_address,
default_limits=["720 per day", "30 per hour"] default_limits=["1200 per day", "50 per hour"]
) )
with open("data.json", "r", encoding="utf8") as read_data: with open("data.json", "r", encoding="utf8") as read_data: