// libs/core/src/ad/ad-cache-warmup.service.ts import { Injectable, Logger, OnModuleInit } from '@nestjs/common'; /** * Formerly responsible for per-ad cache warmups. * Per-ad cache keys have been removed, so this service now * short-circuits and merely logs its disabled state to satisfy module wiring. */ @Injectable() export class AdCacheWarmupService implements OnModuleInit { private readonly logger = new Logger(AdCacheWarmupService.name); async onModuleInit(): Promise { this.logger.log( 'Individual ad cache warmup is disabled; no action is taken on startup.', ); } async warmupAllAdCaches(): Promise { this.logger.debug( 'warmupAllAdCaches skipped because per-ad cache keys no longer exist.', ); } }