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

Added auth_pass to readme too

This commit is contained in:
Henrik Peinar
2013-05-31 11:11:37 -07:00
parent 4dcfa0f92a
commit 660b89bb42

View File

@@ -209,6 +209,7 @@ to maximum value, provided in milliseconds.
limits total time for client to reconnect. Value is provided in milliseconds and is counted once the disconnect occured. limits total time for client to reconnect. Value is provided in milliseconds and is counted once the disconnect occured.
* `max_attempts` defaults to `null`. By default client will try reconnecting until connected. Setting `max_attempts` * `max_attempts` defaults to `null`. By default client will try reconnecting until connected. Setting `max_attempts`
limits total amount of reconnects. limits total amount of reconnects.
* `auth_pass` defaults to `null`. By default client will try connecting without auth. If set, client will run redis auth command on connect.
```js ```js
var redis = require("redis"), var redis = require("redis"),