[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>
This commit is contained in:
Markus Heiser 2024-01-13 14:11:16 +01:00 committed by Markus Heiser
parent e560d7e373
commit 8762863ebf

View file

@ -1347,10 +1347,12 @@ engines:
search_type: search search_type: search
categories: [general, web] categories: [general, web]
shortcut: ps shortcut: ps
timeout: 4.0
disabled: true disabled: true
- name: presearch images - name: presearch images
engine: presearch engine: presearch
network: presearch
search_type: images search_type: images
categories: [images, web] categories: [images, web]
timeout: 4.0 timeout: 4.0
@ -1359,6 +1361,7 @@ engines:
- name: presearch videos - name: presearch videos
engine: presearch engine: presearch
network: presearch
search_type: videos search_type: videos
categories: [general, web] categories: [general, web]
timeout: 4.0 timeout: 4.0
@ -1367,6 +1370,7 @@ engines:
- name: presearch news - name: presearch news
engine: presearch engine: presearch
network: presearch
search_type: news search_type: news
categories: [news, web] categories: [news, web]
timeout: 4.0 timeout: 4.0