mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
redis.Redis.from_url(url) doesn't check if the url is valid Before this commit: actual error are detected later when the client is actually used. With this commit, client() makes sure to return a valid Redis client or None. Also, the code makes sure not to log the password of the Redis URL |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| redisdb.py | ||