summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-08-07 12:30:18 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-08-07 12:31:09 +0200
commit8b58cd1167a03e2063dd7f070f8702ca377e3577 (patch)
tree359cff73ddb1c629a8a03dd95b0fde0a06a8dd92 /searx
parentcee586029cd2afa54cf0f47db13b35702aa45d8d (diff)
downloadsearxng-8b58cd1167a03e2063dd7f070f8702ca377e3577.tar.gz
searxng-8b58cd1167a03e2063dd7f070f8702ca377e3577.zip
[fix] typo in uWSGI cache: searxcache --> searxngcache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml2
-rw-r--r--searx/shared/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 3694c177a..2e680b7d7 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -210,7 +210,7 @@ checker:
# to activate the scheduler:
# * uncomment "scheduling" section
- # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
+ # * add "cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
# to your uwsgi.ini
# scheduling:
diff --git a/searx/shared/__init__.py b/searx/shared/__init__.py
index f03679c61..d10ddb33d 100644
--- a/searx/shared/__init__.py
+++ b/searx/shared/__init__.py
@@ -23,7 +23,7 @@ else:
# uwsgi.ini configuration problem: disable all scheduling
logger.error(
'uwsgi.ini configuration error, add this line to your uwsgi.ini\n'
- 'cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1'
+ 'cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1'
)
from .shared_simple import SimpleSharedDict as SharedDict