nestjs-redis icon indicating copy to clipboard operation
nestjs-redis copied to clipboard

RedisOptions: field `name` of base interface is already is use for `name of master` in SentinelConnector of `ioredis`

Open nexus opened this issue 5 years ago • 1 comments

Because export interface RedisModuleOptions extends RedisOptions, field name is already in use by ioredis for name of master in SentinelConnector. You should use a different field for multi-client connection. Otherwise, it is not possible to create more than 1 client with Sentinel setup.

nexus avatar Aug 21 '20 15:08 nexus

@skunight Please update on when this will be merged. I had to create a forked package as this is a critical issue.

aashutoshrathi avatar Apr 07 '21 12:04 aashutoshrathi