searxng/utils
Alexandre FLAMENT e92755d358 Initialize Redis in searx/webapp.py
settings.yml:
* The default URL was unix:///usr/local/searxng-redis/run/redis.sock?db=0
* The default URL is now "false"

The default URL makes the log difficult to deal with:
if the admin didn't install a Redis instance, the logs record a false error.

It worked before because SearXNG initialized the Redis connection when the limiter started.

In this commit, SearXNG initializes Redis in searx/webapp.py
so various components can use Redis without taking care of the initialization step.
2022-11-05 17:45:52 +01:00
..
templates [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
brand.env [fix] brand - partial revert of e82e37ce6 2021-11-19 14:01:58 +01:00
build_env.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
filtron.sh [mod] fix minor leftovers from PR #1332 2022-07-30 16:13:47 +02:00
lib.sh [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
lib_go.sh [mod] Tools to install and maintain golang [1] binaries & packages. 2021-11-16 18:00:47 +01:00
lib_nvm.sh [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
lib_redis.sh [utils/searxng.sh] implement new script to install SearXNG 2022-07-30 13:39:35 +02:00
lib_static.sh theme: remove __common__ 2022-05-07 19:40:48 +02:00
lxc-searxng.env [utils/searxng.sh] implement new script to install SearXNG 2022-07-30 13:39:35 +02:00
lxc.sh [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
morty.sh [mod] fix minor leftovers from PR #1332 2022-07-30 16:13:47 +02:00
searx.sh [mod] fix minor leftovers from PR #1332 2022-07-30 16:13:47 +02:00
searxng.sh Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00
searxng_check.py Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00