diff options
author | Alexandre Flament <alex@al-f.net> | 2021-01-05 11:22:48 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-01-12 11:47:17 +0100 |
commit | 6e2872f43625aba71eba019e16f7fbd74743f590 (patch) | |
tree | 858625b7b0410503c41e8ccca14b28202d13c961 /dockerfiles | |
parent | 9c581466e136f7cb82d5ffe6c052fbd9e93ab39f (diff) | |
download | searxng-6e2872f43625aba71eba019e16f7fbd74743f590.tar.gz searxng-6e2872f43625aba71eba019e16f7fbd74743f590.zip |
[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 'dockerfiles')
-rw-r--r-- | dockerfiles/uwsgi.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini index 398a440d9..818a99cc0 100644 --- a/dockerfiles/uwsgi.ini +++ b/dockerfiles/uwsgi.ini @@ -42,3 +42,6 @@ static-map = /static=/usr/local/searx/searx/static static-expires = /* 864000 static-gzip-all = True offload-threads = %k + +# Cache +cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 |