Skip to content

Commit ee6aba4

Browse files
authored
Merge pull request #1171 from novemberborn/patch-1
Update retry_strategy example
2 parents be07c12 + 18d5f60 commit ee6aba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ var client = redis.createClient({
237237
return undefined;
238238
}
239239
// reconnect after
240-
return Math.max(options.attempt * 100, 3000);
240+
return Math.min(options.attempt * 100, 3000);
241241
}
242242
});
243243
```

0 commit comments

Comments
 (0)