Skip to content
Snippets Groups Projects
Commit cdff45ef authored by Piero Toffanin's avatar Piero Toffanin
Browse files

Fix limits

parent b05c0434
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment