skip to Main Content

how to configure nest/Bull redis connection

I am using BullModule in nest.js. when I connect to a local redis it works: const REDIS = { host: 'localhost', }; @Module({ imports: [ TaskTypesModule, TasksModule, ScheduleModule.forRoot(), BullModule.forRoot({ // @ts-ignore redis: REDIS, }), ], controllers: [AppController], providers: [AppService, PrismaService],…

VIEW QUESTION

Want to use Nestjs with other Redis command

I try to implement nestjs backend and redis as caching. I can do it according to the official document https://docs.nestjs.com/techniques/caching#in-memory-cache. I use the package cache-manager-redis-store and the code in app.module.ts is as shown below. import { Module, CacheModule } from…

VIEW QUESTION
Back To Top
Search