From f2675c49f8753a6d641d8da23748888c57619071 Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Fri, 11 Nov 2022 01:42:17 +0530 Subject: [PATCH] update config of gunicorn --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6ff8a6f80..18ef356db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ COPY --from=builder /install/ /usr/local/ EXPOSE 80 STOPSIGNAL SIGINT -CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:80", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"] +CMD ["gunicorn", "-w", "4", "--threads", "4", "-b", "0.0.0.0:80", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"] -- GitLab