From cdff45efe6cc10ea9c584df8ce2c3c3f2fa04461 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sun, 4 Jul 2021 12:36:13 -0400 Subject: [PATCH] Fix limits --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 3009f0c..c21a4e0 100644 --- a/app/app.py +++ b/app/app.py @@ -40,7 +40,7 @@ def get_req_limits(default_limit, api_keys_db, multiplier = 1): if api_key: db_req_limit = api_keys_db.lookup(api_key) if db_req_limit is not None: - req_limit = db_req_limit + req_limit = db_req_limit * multiplier return req_limit