Browse Source

[fix] typo in uWSGI cache: searxcache --> searxngcache

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 2 years ago
parent
commit
8b58cd1167
2 changed files with 2 additions and 2 deletions
  1. 1 1
      searx/settings.yml
  2. 1 1
      searx/shared/__init__.py

+ 1 - 1
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:

+ 1 - 1
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