From 807cfc0e211f72885e00228edc5e72878916a938 Mon Sep 17 00:00:00 2001 From: Guillaume Metzger <31687635+metzgegu@users.noreply.github.com> Date: Sat, 3 Dec 2022 09:14:31 +0100 Subject: [PATCH] docs: update readme to fix slotsRefreshInterval default value (#1687) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a44b5095..099d9574 100644 --- a/README.md +++ b/README.md @@ -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