diff --git a/README.md b/README.md index 52b60f0f284..71b6bc73a06 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ var client = redis.createClient({ return undefined; } // reconnect after - return Math.max(options.attempt * 100, 3000); + return Math.min(options.attempt * 100, 3000); } }); ```