Skip to content

Commit 397143e

Browse files
committed
when receiving redis config through tools, set request retry count to default
1 parent 2cf4122 commit 397143e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/tools.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ function getWildcardAddresses(username, domain) {
137137
function redisConfig(defaultConfig) {
138138
return {
139139
// some defaults
140-
maxRetriesPerRequest: null,
141140
showFriendlyErrorStack: true,
142141
retryStrategy(times) {
143142
const delay = !times ? 1000 : Math.min(2 ** times * 500, 15 * 1000);

0 commit comments

Comments
 (0)