Google Maps Bug
This commit is contained in:
@@ -114,6 +114,15 @@ export class PlatformCacheService {
|
||||
* Invalidate all vehicle data cache (for admin operations)
|
||||
*/
|
||||
async invalidateVehicleData(): Promise<void> {
|
||||
logger.warn('Vehicle data cache invalidation not implemented (requires pattern deletion)');
|
||||
try {
|
||||
const yearsKey = this.prefix + 'years';
|
||||
await Promise.all([
|
||||
this.cacheService.del(yearsKey),
|
||||
this.cacheService.deletePattern(this.prefix + 'vehicle-data:*')
|
||||
]);
|
||||
logger.debug('Vehicle data cache invalidated');
|
||||
} catch (error) {
|
||||
logger.error('Vehicle data cache invalidation failed', { error });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user