summaryrefslogtreecommitdiff
path: root/utils/templates/etc/uwsgi/apps-available
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-05 11:22:48 +0100
committerAlexandre Flament <alex@al-f.net>2021-01-12 11:47:17 +0100
commit6e2872f43625aba71eba019e16f7fbd74743f590 (patch)
tree858625b7b0410503c41e8ccca14b28202d13c961 /utils/templates/etc/uwsgi/apps-available
parent9c581466e136f7cb82d5ffe6c052fbd9e93ab39f (diff)
[enh] add searx.shared
shared dictionary between the workers (UWSGI or werkzeug) scheduler: run a task once every x seconds (UWSGI or werkzeug)
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-available')
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searx.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/templates/etc/uwsgi/apps-available/searx.ini b/utils/templates/etc/uwsgi/apps-available/searx.ini
index 4d69da0cf..45214ef13 100644
--- a/utils/templates/etc/uwsgi/apps-available/searx.ini
+++ b/utils/templates/etc/uwsgi/apps-available/searx.ini
@@ -82,3 +82,6 @@ http = ${SEARX_INTERNAL_HTTP}
# chown -R ${SERVICE_USER}:${SERVICE_GROUP} /run/uwsgi/app/searx
#
# socket = /run/uwsgi/app/searx/socket
+
+# Cache
+cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1