Skip to content

Commit 807cfc0

Browse files
authored
docs: update readme to fix slotsRefreshInterval default value (#1687)
1 parent c275e9a commit 807cfc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ cluster.get("foo", (err, res) => {
10721072
state stabilized after a failover, so adding a delay before resending can prevent a ping pong effect.
10731073
- `redisOptions`: Default options passed to the constructor of `Redis` when connecting to a node.
10741074
- `slotsRefreshTimeout`: Milliseconds before a timeout occurs while refreshing slots from the cluster (default `1000`).
1075-
- `slotsRefreshInterval`: Milliseconds between every automatic slots refresh (default `5000`).
1075+
- `slotsRefreshInterval`: Milliseconds between every automatic slots refresh (by default, it is disabled).
10761076
10771077
### Read-Write Splitting
10781078

0 commit comments

Comments
 (0)