searxng/searx/search/checker
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
..
__init__.py The checker requires Redis 2022-11-05 12:04:50 +01:00
__main__.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
background.py The checker requires Redis 2022-11-05 12:04:50 +01:00
impl.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
scheduler.lua Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00
scheduler.py The checker requires Redis 2022-11-05 12:04:50 +01:00