1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

fix multi "generic" type, some docs

This commit is contained in:
Leibale
2023-11-20 13:15:40 -05:00
parent 3ca33b8b80
commit 520441704b
4 changed files with 66 additions and 13 deletions

View File

@@ -40,6 +40,7 @@ await cluster.close();
## Auth with password and username
Specifying the password in the URL or a root node will only affect the connection to that specific node. In case you want to set the password for all the connections being created from a cluster instance, use the `defaults` option.
```javascript
createCluster({
rootNodes: [{