Do not decrease flood violations

This commit is contained in:
Piero Toffanin 2022-10-14 12:49:28 -04:00
parent f18dfcd60d
commit bc8b331fe9

View file

@ -177,9 +177,6 @@ def create_app(args):
if flood.is_banned(ip):
abort(403, description="Too many request limits violations")
else:
if flood.has_violation(ip):
flood.decrease(ip)
if args.api_keys:
ak = get_req_api_key()