1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 12:50:11 +01:00
searxng/searx/search
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
..
checker Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00
processors searx.network: add "verify" option to the networks 2022-10-14 13:59:22 +00:00
__init__.py [fix] pyright repported errors 2022-07-30 18:04:44 +02:00
models.py [mod] add 'Accept-Language' HTTP header to online processores 2022-08-01 17:01:59 +02:00