Skip to content

Commit

Permalink
fix: increase timeout (#14885)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodmfjord authored May 22, 2024
1 parent d97292b commit b4f1abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/cache/src/lib/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ const getRedisClusterOptions = (
keyPrefix: options.noPrefix ? undefined : `${options.name}:`,
slotsRefreshTimeout: getEnvValueToNumber(
'REDIS_SLOTS_REFRESH_TIMEOUT',
5000,
10000,
),
slotsRefreshInterval: getEnvValueToNumber(
'REDIS_SLOTS_REFRESH_INTERVAL',
10000,
15000,
),
connectTimeout: 5000,
// https://www.npmjs.com/package/ioredis#special-note-aws-elasticache-clusters-with-tls
Expand Down

0 comments on commit b4f1abe

Please sign in to comment.