1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

Update uwsgi.ini

This commit is contained in:
ewilly 2024-05-15 19:14:13 +00:00 committed by GitHub
parent c15e2c57fd
commit 1e925f8ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,9 @@ plugin = python3,http
# default behaviour is for performance reasons. # default behaviour is for performance reasons.
enable-threads = true enable-threads = true
# Number of workers (usually CPU count)
workers = %k
threads = 4
# plugin: python # plugin: python
# -------------- # --------------
@ -78,7 +81,7 @@ buffer-size = 8192
# static_use_hash: true # static_use_hash: true
# #
static-map = /static=__INSTALL_DIR__/searxng-src/searx/static static-map = /static=__INSTALL_DIR__/searxng-src/searx/static
# expires set to one year since there are hashes # expires set to one day
static-expires = /* 31557600 static-expires = /* 86400
static-gzip-all = True static-gzip-all = True
offload-threads = %k offload-threads = %k