I have a project with nestJS. But in when trying to add some module it show error. and this is my tsconfig How to resolve the error ? Answer If you’re on ioredis@4, it comes without built-in TypeScript definitions. You’ll have to install @types/ioredis: If you’re on ioredis@5 and use @nestjs/bull, the bull package does not support ioredis@5. You’ll have
Tag: ioredis
Ioredis: When reconnecting redis via connect() , calling connect doesn’t reset retry times to 0
I have following options set when connecting to Redis Later on, I am exporting this client throughout project for redis queries. The issue is when Request 1 comes and there is some issue with redis, it tries to auto-connect for 4 times(+1 for initial try). Then throws error which is handled. So for now times variable(used in retrystrategy()) will have