mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
df9844d5ad
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username