Skip to content

Commit

Permalink
Merge pull request #475 from panoratech/redis-auth-url
Browse files Browse the repository at this point in the history
🚑 Redis settings for AWS Elasticache
  • Loading branch information
rflihxyz authored Jun 1, 2024
2 parents a281722 + d3989ba commit 8819c20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ import { ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler';
port: Number(process.env.REDIS_PORT) || 6379,
password: process.env.REDIS_PASS,
username: process.env.REDIS_USER || 'default',
db: Number(process.env.REDIS_DB) || 0
db: Number(process.env.REDIS_DB) || 0,
enableReadyCheck: false,
maxRetriesPerRequest: null
},
}),
],
Expand Down

0 comments on commit 8819c20

Please sign in to comment.