summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-01-13 14:11:16 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-01-15 19:23:26 +0100
commit8762863ebfe7b00d4d07dde24e69112e9a605079 (patch)
treef37ea3cafd4b8cd7475a0979bf31c0a928a86a29 /searx
parente560d7e373a2d083590bb75014f6b1e801775410 (diff)
[mod] presearch: set WEB timeout to 4sec & single network for all request
timeout: 4.0 The timeout of presearch-WEB is left up from the default of 3sec to 4sec. The engine has to send two HTTP requests, they often exceed the default timeout of 3sec. Since all other presearch categories (images, videos, news) also have a timeout of 4 sec, the WEB search should also have the same timeout. network: presearch Place all HTTP requests in the same network, named ``presearch``. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 5e70b7803..0498a470a 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1347,10 +1347,12 @@ engines:
search_type: search
categories: [general, web]
shortcut: ps
+ timeout: 4.0
disabled: true
- name: presearch images
engine: presearch
+ network: presearch
search_type: images
categories: [images, web]
timeout: 4.0
@@ -1359,6 +1361,7 @@ engines:
- name: presearch videos
engine: presearch
+ network: presearch
search_type: videos
categories: [general, web]
timeout: 4.0
@@ -1367,6 +1370,7 @@ engines:
- name: presearch news
engine: presearch
+ network: presearch
search_type: news
categories: [news, web]
timeout: 4.0