add rate limiting per engine

This commit is contained in:
Marc Abonce Seguin
2022-04-24 23:52:13 -05:00
parent 666cd1f635
commit 85eca4fb22
8 changed files with 90 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ ENGINE_DEFAULT_ARGS = {
"using_tor_proxy": False,
"display_error_messages": True,
"send_accept_language_header": False,
"rate_limit": [{"max_requests": float('inf'), "interval": 1}],
"tokens": [],
"about": {},
}