You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
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.
2 years ago
..
answerers [fix] issue reported by pylint 22.1.0 2 years ago
data Merge pull request #1905 from searxng/update_data_update_ahmia_blacklist.py 2 years ago
engines [fix] startpage engine 2 years ago
infopage Donation link: default value to searxng.org, can be hidden or custom 2 years ago
metrics [fix] prepare for pylint 2.14.0 2 years ago
network searx.network: add "verify" option to the networks 2 years ago
plugins The checker requires Redis 2 years ago
search Initialize Redis in searx/webapp.py 2 years ago
shared Initialize Redis in searx/webapp.py 2 years ago
static [build] /static 2 years ago
templates/simple [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
translations [translations] update from Weblate 2 years ago
__init__.py [format.python] initial formatting of the python code 3 years ago
autocomplete.py remove the print statement 2 years ago
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2 years ago
compat.py [fix] pyright repported errors 2 years ago
exceptions.py [pyright:strict] searx.search.checker.background 2 years ago
external_bang.py External bang: bug fix: URL encode the query so "!!g 1+1" works as intended 2 years ago
external_urls.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
flaskfix.py [format.python] initial formatting of the python code 3 years ago
languages.py [fix] add back missing languages & regions (followup of PR #1071) 2 years ago
locales.py [fix] and improve docs generated from source code. 2 years ago
preferences.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
query.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
redislib.py [mod] redislib - optimize LUA script registration. 2 years ago
results.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
searxng.msg Science category: update the engines 2 years ago
settings.yml Initialize Redis in searx/webapp.py 2 years ago
settings_defaults.py Initialize Redis in searx/webapp.py 2 years ago
settings_loader.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
unixthreadname.py [format.python] initial formatting of the python code 3 years ago
utils.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
version.py [fix] pyright repported errors 2 years ago
webadapter.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
webapp.py The checker requires Redis 2 years ago
webutils.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago