diff options
author | Alexandre Flament <alex@al-f.net> | 2021-12-28 20:13:13 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-01-05 21:06:25 +0100 |
commit | 55ae74d72599e74ef4266d7af2188cfcacebaf1b (patch) | |
tree | 3adeffdff11abf19b3c2a8b6d254b670c689e61c /dockerfiles/uwsgi.ini | |
parent | 0ebad8220fe574c690d113d7e9d6a85f5ac16616 (diff) | |
download | searxng-55ae74d72599e74ef4266d7af2188cfcacebaf1b.tar.gz searxng-55ae74d72599e74ef4266d7af2188cfcacebaf1b.zip |
[mod] adjust dockerfiles/uwsgi.ini
Diffstat (limited to 'dockerfiles/uwsgi.ini')
-rw-r--r-- | dockerfiles/uwsgi.ini | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini index 00b17436d..fe518e887 100644 --- a/dockerfiles/uwsgi.ini +++ b/dockerfiles/uwsgi.ini @@ -4,7 +4,8 @@ uid = searxng gid = searxng # Number of workers (usually CPU count) -workers = 4 +workers = %k +threads = 4 # The right granted on the created socket chmod-socket = 666 @@ -23,8 +24,14 @@ module = searx.webapp pythonpath = /usr/local/searxng/ chdir = /usr/local/searxng/searx/ +# automatically set processes name to something meaningful +auto-procname = true + # Disable logging for privacy -disable-logging=True +disable-logging = true + +# Set the max size of a request (request-body excluded) +buffer-size = 8192 # But keep errors for 2 days touch-logrotate = /run/uwsgi-logrotate |