From 1e925f8ee4629838e520890e0809c2c0a3beab75 Mon Sep 17 00:00:00 2001 From: ewilly Date: Wed, 15 May 2024 19:14:13 +0000 Subject: [PATCH] Update uwsgi.ini --- conf/uwsgi.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/uwsgi.ini b/conf/uwsgi.ini index d4cfa45..5ce1271 100644 --- a/conf/uwsgi.ini +++ b/conf/uwsgi.ini @@ -50,6 +50,9 @@ plugin = python3,http # default behaviour is for performance reasons. enable-threads = true +# Number of workers (usually CPU count) +workers = %k +threads = 4 # plugin: python # -------------- @@ -78,7 +81,7 @@ buffer-size = 8192 # static_use_hash: true # static-map = /static=__INSTALL_DIR__/searxng-src/searx/static -# expires set to one year since there are hashes -static-expires = /* 31557600 +# expires set to one day +static-expires = /* 86400 static-gzip-all = True offload-threads = %k