From 8b58cd1167a03e2063dd7f070f8702ca377e3577 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 7 Aug 2022 12:30:18 +0200 Subject: [PATCH] [fix] typo in uWSGI cache: searxcache --> searxngcache Signed-off-by: Markus Heiser --- searx/settings.yml | 2 +- searx/shared/__init__.py | 2 +- 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