diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-01-29 19:25:07 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2023-01-29 19:26:16 +0000 |
commit | 031162be0471650c09c25954b5251d06d8c042e1 (patch) | |
tree | a97a12fa80d54f7344e6efdbfabdb330500f0e7d /docs/admin | |
parent | feccee01c004f1e6cf2242dc33c8f3456e1b4e1a (diff) | |
download | searxng-031162be0471650c09c25954b5251d06d8c042e1.tar.gz searxng-031162be0471650c09c25954b5251d06d8c042e1.zip |
[doc] settings.py document search.suspended_times
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin')
-rw-r--r-- | docs/admin/engines/settings.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index c747e3f43..97f5ef63e 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -110,6 +110,13 @@ Global Settings default_lang: "" ban_time_on_fail: 5 max_ban_time_on_fail: 120 + suspended_times: + SearxEngineAccessDenied: 86400 + SearxEngineCaptcha: 86400 + SearxEngineTooManyRequests: 3600 + cf_SearxEngineCaptcha: 1296000 + cf_SearxEngineAccessDenied: 86400 + recaptcha_SearxEngineCaptcha: 604800 formats: - html @@ -159,6 +166,25 @@ Global Settings ``max_ban_time_on_fail``: Max ban time in seconds after engine errors. +``suspended_times``: + Engine suspension time after error (in seconds; set to 0 to disable) + + ``SearxEngineAccessDenied``: 86400 + For error "Access denied" and "HTTP error [402, 403]" + + ``SearxEngineCaptcha``: 86400 + For error "CAPTCHA" + + ``SearxEngineTooManyRequests``: 3600 + For error "Too many request" and "HTTP error 429" + + Cloudflare CAPTCHA: + - ``cf_SearxEngineCaptcha``: 1296000 + - ``cf_SearxEngineAccessDenied``: 86400 + + Google CAPTCHA: + - ``recaptcha_SearxEngineCaptcha``: 604800 + ``formats``: Result formats available from web, remove format to deny access (use lower case). @@ -168,6 +194,7 @@ Global Settings - ``json`` - ``rss`` + .. _settings server: ``server:`` |