260320:1210 Refactor Overrall #06 failed to start due to missing CACHE_MANAGER dependency.
Build and Deploy / deploy (push) Successful in 10m42s

This commit is contained in:
admin
2026-03-20 12:10:53 +07:00
parent 5e8a298140
commit 620901dfcb
3 changed files with 9 additions and 5 deletions
+7
View File
@@ -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),