diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-08-07 12:53:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-07 12:53:33 +0200 |
| commit | 04e342702279a4aee3e9ad7a06eafa92ce7dba3f (patch) | |
| tree | 359cff73ddb1c629a8a03dd95b0fde0a06a8dd92 | |
| parent | cee586029cd2afa54cf0f47db13b35702aa45d8d (diff) | |
| parent | 8b58cd1167a03e2063dd7f070f8702ca377e3577 (diff) | |
Merge pull request #1626 from return42/fix-minor
[fix] typo in uWSGI cache: searxcache --> searxngcache
| -rw-r--r-- | searx/settings.yml | 2 | ||||
| -rw-r--r-- | 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 |