Open
Description
Here's the offending line:
https://github.com/kyknow/nestjs-redis/blob/master/lib/redis-client.provider.ts#L17
If you pass in a url
, any other options are ignored:
RedisModule.register({
url: process.env.REDIS_URL,
keyPrefix: process.env.REDIS_KEY_PREFIX,
}),
What's the intended behavior here? If the URL overwrites all other options, we should document and enforce with types.
Thanks!
Anthony
Activity