diff options
| author | Alexandre Flament <alex@al-f.net> | 2023-01-15 10:07:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-15 10:07:44 +0100 |
| commit | 52d415599727f88a77041d7bc162aabfa49cef36 (patch) | |
| tree | bf76db64f14e00515bd7fd64aa73e1cfab902bf5 /searx/settings.yml | |
| parent | b720a495f0cc5372d07ed68e0d8a5ffa89a14b51 (diff) | |
| parent | 0cedb1c6d8d38c911176cab954d858fe937cef71 (diff) | |
Merge pull request #1967 from tiekoetter/suspended_time-settings
settings.yml: add search.suspended_times
Diffstat (limited to 'searx/settings.yml')
| -rw-r--r-- | searx/settings.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 2226a12de..565cffe97 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -45,6 +45,20 @@ search: ban_time_on_fail: 5 # max ban time in seconds after engine errors max_ban_time_on_fail: 120 + suspend_times: + # Engine suspension time after error (in seconds; set to 0 to disable) + # For error "Access denied" and "HTTP error [402, 403]" + SearxEngineAccessDenied: 86400 + # For error "CAPTCHA" + SearxEngineCaptcha: 86400 + # For error "Too many request" and "HTTP error 429" + SearxEngineTooManyRequests: 3600 + # Cloudflare CAPTCHA + cf_SearxEngineCaptcha: 1296000 + cf_SearxEngineAccessDenied: 86400 + # ReCAPTCHA + recaptcha_SearxEngineCaptcha: 604800 + # remove format to deny access, use lower case. # formats: [html, csv, json, rss] formats: |