From bc8b331fe9dfb7a1b62702c635d22d7c6bd841bc Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 14 Oct 2022 12:49:28 -0400 Subject: [PATCH] Do not decrease flood violations --- app/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/app.py b/app/app.py index 1221152..e3ef13b 100644 --- a/app/app.py +++ b/app/app.py @@ -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()