260320:1210 Refactor Overrall #06 failed to start due to missing CACHE_MANAGER dependency.
Build and Deploy / deploy (push) Successful in 10m42s
Build and Deploy / deploy (push) Successful in 10m42s
This commit is contained in:
@@ -10,6 +10,7 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { BullModule } from '@nestjs/bullmq';
|
||||
import { ThrottlerModule, ThrottlerGuard } from '@nestjs/throttler';
|
||||
import { WinstonModule } from 'nest-winston';
|
||||
import { CacheModule } from '@nestjs/cache-manager';
|
||||
// Redis store will be imported dynamically in the factory
|
||||
import { RedisModule } from '@nestjs-modules/ioredis';
|
||||
|
||||
@@ -93,6 +94,12 @@ import { MigrationModule } from './modules/migration/migration.module';
|
||||
}),
|
||||
*/
|
||||
|
||||
// 🔄 Temporary Cache Module (In-Memory) for build fixes
|
||||
CacheModule.register({
|
||||
isGlobal: true, // Make available globally for all modules
|
||||
ttl: 300, // 5 minutes default TTL
|
||||
}),
|
||||
|
||||
// 📝 Setup Winston Logger
|
||||
WinstonModule.forRoot(winstonConfig),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user