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:
parent
c15e2c57fd
commit
1e925f8ee4
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue