Skip to content

Commit 02eeefd

Browse files
committed
Increase maxRetriesPerRequest in CI
1 parent cbe651e commit 02eeefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-packages/redis/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const defaultOptions: Partial<RedisOptions> = {
88
const delay = Math.min(times * 50, 1000);
99
return delay;
1010
},
11-
maxRetriesPerRequest: process.env.VITEST ? 1 : 20,
11+
maxRetriesPerRequest: process.env.GITHUB_ACTIONS ? 50 : process.env.VITEST ? 1 : 20,
1212
};
1313

1414
const logger = new Logger("Redis", "debug");

0 commit comments

Comments
 (0)