Skip to content

Commit

Permalink
docs: update readme to fix slotsRefreshInterval default value (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
metzgegu authored Dec 3, 2022
1 parent c275e9a commit 807cfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ cluster.get("foo", (err, res) => {
state stabilized after a failover, so adding a delay before resending can prevent a ping pong effect.
- `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`).
- `slotsRefreshInterval`: Milliseconds between every automatic slots refresh (default `5000`).
- `slotsRefreshInterval`: Milliseconds between every automatic slots refresh (by default, it is disabled).
### Read-Write Splitting
Expand Down

0 comments on commit 807cfc0

Please sign in to comment.