Google Maps Bug

This commit is contained in:
Eric Gullickson
2025-11-08 12:17:29 -06:00
parent efbe9ba3c0
commit bb4a356b9e
39 changed files with 1175 additions and 449 deletions

View File

@@ -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 });
}
}
}