diff options
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-available/searxng.ini:socket')
-rw-r--r-- | utils/templates/etc/uwsgi/apps-available/searxng.ini:socket | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket index 516787be1..2f95fab7c 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket @@ -50,6 +50,9 @@ plugin = python3,http # default behaviour is for performance reasons. enable-threads = true +# Number of workers (usually CPU count) +workers = ${UWSGI_WORKERS:-%k} +threads = ${UWSGI_THREADS:-4} # plugin: python # -------------- |