Compare commits

...

3 commits

Author SHA1 Message Date
Markus Heiser 06dd4b2991
Merge 2bae3b04e0 into 0e09014df5 2024-04-26 23:50:50 +02:00
Ivan G 0e09014df5
Add uWSGI die-on-term flag (#3429) 2024-04-26 23:42:29 +02:00
Markus Heiser 2bae3b04e0 [fix] yep engine: invcrease timeout from defaul 3sec to 5sec
In the "Engines" tab on searx.space [1] nearly all engines report a

    TimeoutException: yep engine

As documented in issue #2444 [2], this problem can be fixed by increasing the
timeout. Note: on a local instance (`make run`) the timeout of 3sec was
sufficient / at least in my local test, but the balance of searx.space leads me
to believe that this tight timeout is usually not sufficient.

[1] https://searx.space/
[2] https://github.com/searxng/searxng/issues/2444

Closes https://github.com/searxng/searxng/issues/3421
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26 08:20:05 +02:00
2 changed files with 5 additions and 0 deletions

View file

@ -42,6 +42,10 @@ buffer-size = 8192
# See https://github.com/searx/searx-docker/issues/24
add-header = Connection: close
# Follow SIGTERM convention
# See https://github.com/searxng/searxng/issues/3427
die-on-term
# uwsgi serves the static files
static-map = /static=/usr/local/searxng/searx/static
# expires set to one day

View file

@ -508,6 +508,7 @@ engines:
shortcut: yep
categories: general
search_type: web
timeout: 5
disabled: true
- name: yep images