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

Merge pull request #264 from YunoHost-Apps/Testing

Update uwsgi.ini
This commit is contained in:
ewilly 2024-05-15 19:15:23 +00:00 committed by GitHub
commit d6662b8392
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