diff options
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket')
-rw-r--r-- | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket index 0f36e4178..eb1220233 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket @@ -47,6 +47,9 @@ plugin = python # 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 # -------------- |