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