From 0ef40dd992eaa35ffa3e7d277fab54ddd934fea7 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 11 Aug 2023 12:37:40 +0200 Subject: [PATCH] uwsgi.ini: remove unused cache2 cache2 was used before PR #1856 --- dockerfiles/uwsgi.ini | 3 --- utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 3 --- utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket | 3 --- utils/templates/etc/uwsgi/apps-available/searxng.ini | 3 --- utils/templates/etc/uwsgi/apps-available/searxng.ini:socket | 3 --- 5 files changed, 15 deletions(-) diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini index 127789867..a293d62d7 100644 --- a/dockerfiles/uwsgi.ini +++ b/dockerfiles/uwsgi.ini @@ -44,6 +44,3 @@ static-map = /static=/usr/local/searxng/searx/static static-expires = /* 31557600 static-gzip-all = True offload-threads = %k - -# Cache -cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini index bcc8f0c87..14005ad56 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini @@ -82,6 +82,3 @@ static-map = /static=${SEARXNG_STATIC} static-expires = /* 31557600 static-gzip-all = True offload-threads = %k - -# Cache -cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket index edaed23f9..932b8eeb6 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket @@ -79,6 +79,3 @@ static-map = /static=${SEARXNG_STATIC} static-expires = /* 31557600 static-gzip-all = True offload-threads = %k - -# Cache -cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini b/utils/templates/etc/uwsgi/apps-available/searxng.ini index 93be5d8ab..7e39ef15a 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini @@ -85,6 +85,3 @@ static-map = /static=${SEARXNG_STATIC} static-expires = /* 31557600 static-gzip-all = True offload-threads = %k - -# Cache -cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket index b533386c8..2505dccf6 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket @@ -82,6 +82,3 @@ static-map = /static=${SEARXNG_STATIC} static-expires = /* 31557600 static-gzip-all = True offload-threads = %k - -# Cache -cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1