From 89f37be5a0aa722864f7dadcd027a242005597fe Mon Sep 17 00:00:00 2001 From: Opnxng Date: Wed, 15 Nov 2023 03:06:53 +0800 Subject: [PATCH] SearXNG: fixed crashes --- .gitignore | 3 ++- templates/compose/paulgo.yaml.j2 | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e3e7d11..b378de7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ templates/conf/users_database.yaml.j2 templates/conf/configuration.yaml.j2 files/firefox production -.hidden \ No newline at end of file +.hidden +*.swp diff --git a/templates/compose/paulgo.yaml.j2 b/templates/compose/paulgo.yaml.j2 index 1055b5c..850ff62 100644 --- a/templates/compose/paulgo.yaml.j2 +++ b/templates/compose/paulgo.yaml.j2 @@ -32,6 +32,8 @@ services: - ISSUE_URL=https://github.com/searxng/searxng/issues - GIT_URL=https://github.com/paulgoio/searxng - GIT_BRANCH=main + - UWSGI_WORKERS=1 + - UWSGI_THREADS=16 depends_on: - redis volumes: @@ -58,4 +60,4 @@ services: - SETUID - DAC_OVERRIDE restart: always - network_mode: host \ No newline at end of file + network_mode: host