Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for slotsRefreshTimeout to README #487

Merged
merged 2 commits into from
Jun 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ but a few so that if one is unreachable the client will try the next one, and th
return delay;
}
```
It' possible to modify the `startupNodes` property in order to switch to another set of nodes here:

It's possible to modify the `startupNodes` property in order to switch to another set of nodes here:

```javascript
function (times) {
Expand All @@ -725,6 +726,7 @@ but a few so that if one is unreachable the client will try the next one, and th
* `retryDelayOnTryAgain`: If this option is a number (by default, it is `100`), the client
will resend the commands rejected with `TRYAGAIN` error after the specified time (in ms).
* `redisOptions`: Default options passed to the constructor of `Redis` when connecting to a node.
* `slotsRefreshTimeout`: Milliseconds before a timeout occurs while refreshing slots from the cluster (default `1000`)

### Read-write splitting

Expand Down