You've already forked node-redis
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:
@@ -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: [{
|
||||
|
Reference in New Issue
Block a user