search.suspended_time settings: bug fixes

* fix type in settings.yml: replace suspend_times by suspended_times
* always use delay defined in settings.yml:
  * HTTP status 402 and 403: read the value from settings.yml instead of using the hardcoded value of 1 day.
  * startpage engine: CAPTCHA suspend the engine for one day instead of one week
This commit is contained in:
Alexandre Flament 2023-01-28 10:24:14 +00:00
parent 6b71721ce8
commit 37addec69e
4 changed files with 11 additions and 7 deletions

View file

@ -45,7 +45,7 @@ search:
ban_time_on_fail: 5
# max ban time in seconds after engine errors
max_ban_time_on_fail: 120
suspend_times:
suspended_times:
# Engine suspension time after error (in seconds; set to 0 to disable)
# For error "Access denied" and "HTTP error [402, 403]"
SearxEngineAccessDenied: 86400