increase global default limiter

this was way too low as it applied to routes on the home page, which would max someone out who just clicked on the links available freely
This commit is contained in:
Xevion
2019-12-25 17:31:00 -06:00
parent 1ec65bc5f7
commit fdb30613fa

View File

@@ -16,7 +16,7 @@ login = LoginManager(app)
login.login_view = 'login'
db = SQLAlchemy(app)
migrate = Migrate(app, db)
limiter = Limiter(app, key_func=get_remote_address, default_limits=["10 per minute"])
limiter = Limiter(app, key_func=get_remote_address, default_limits=["10 per second"])
from app import models
from app import routes, simple_routes, hidden, dashboard