Nick: rm the cache for map for 24hrs

This commit is contained in:
Nicolas 2024-10-12 17:48:37 -03:00
parent 2eff7c29bb
commit 961b1010cf

View File

@ -63,7 +63,7 @@ export async function mapController(
const maxPages = Math.ceil(Math.min(MAX_FIRE_ENGINE_RESULTS, limit) / resultsPerPage); const maxPages = Math.ceil(Math.min(MAX_FIRE_ENGINE_RESULTS, limit) / resultsPerPage);
const cacheKey = `fireEngineMap:${mapUrl}`; const cacheKey = `fireEngineMap:${mapUrl}`;
const cachedResult = await redis.get(cacheKey); const cachedResult = null;
let allResults: any[]; let allResults: any[];
let pagePromises: Promise<any>[]; let pagePromises: Promise<any>[];