mirror of
https://github.com/searxng/searxng.git
synced 2026-05-07 18:03:51 +02:00
[mod] settings.yml - adjust default suspended_times from hours to minutes
The default settings for the suspend times were previously 24 hours and 3 hours, respectively. Based on my experience, these defaults are too high; most engines handle suspend times of 3 minutes or 1 hour (captcha) without any problems. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
89a63114c4
commit
76f0712319
+3
-3
@@ -61,11 +61,11 @@ search:
|
|||||||
suspended_times:
|
suspended_times:
|
||||||
# Engine suspension time after error (in seconds; set to 0 to disable)
|
# Engine suspension time after error (in seconds; set to 0 to disable)
|
||||||
# For error "Access denied" and "HTTP error [402, 403]"
|
# For error "Access denied" and "HTTP error [402, 403]"
|
||||||
SearxEngineAccessDenied: 86400
|
SearxEngineAccessDenied: 180
|
||||||
# For error "CAPTCHA"
|
# For error "CAPTCHA"
|
||||||
SearxEngineCaptcha: 86400
|
SearxEngineCaptcha: 3600
|
||||||
# For error "Too many request" and "HTTP error 429"
|
# For error "Too many request" and "HTTP error 429"
|
||||||
SearxEngineTooManyRequests: 3600
|
SearxEngineTooManyRequests: 180
|
||||||
# Cloudflare CAPTCHA
|
# Cloudflare CAPTCHA
|
||||||
cf_SearxEngineCaptcha: 1296000
|
cf_SearxEngineCaptcha: 1296000
|
||||||
cf_SearxEngineAccessDenied: 86400
|
cf_SearxEngineAccessDenied: 86400
|
||||||
|
|||||||
Reference in New Issue
Block a user