diff options
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/uwsgi.ini | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini index 2d3155976..fc026b792 100644 --- a/dockerfiles/uwsgi.ini +++ b/dockerfiles/uwsgi.ini @@ -4,8 +4,12 @@ uid = searxng gid = searxng # Number of workers (usually CPU count) -workers = %k -threads = 4 +# default value: %k (= number of CPU core, see Dockerfile) +workers = $(UWSGI_WORKERS) + +# Number of threads per worker +# default value: 4 (see Dockerfile) +threads = $(UWSGI_THREADS) # The right granted on the created socket chmod-socket = 666 |