Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | import { registerAs } from '@nestjs/config'; export const RedisConfig = registerAs('redis', () => ({ host: process.env.REDIS_HOST || 'localhost', port: parseInt(process.env.REDIS_PORT, 10) || 6379, password: process.env.REDIS_PASSWORD || '', db: parseInt(process.env.REDIS_DB, 10) || 0, keyPrefix: 'savepal:', retryDelayOnFailover: 100, enableReadyCheck: true, maxRetriesPerRequest: 3, })); |