From 961b1010cf5921c3dc5b8d3767dee17ccdf840db Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sat, 12 Oct 2024 17:48:37 -0300 Subject: [PATCH] Nick: rm the cache for map for 24hrs --- apps/api/src/controllers/v1/map.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts index cc5f6aa3..5ed3dd51 100644 --- a/apps/api/src/controllers/v1/map.ts +++ b/apps/api/src/controllers/v1/map.ts @@ -63,7 +63,7 @@ export async function mapController( const maxPages = Math.ceil(Math.min(MAX_FIRE_ENGINE_RESULTS, limit) / resultsPerPage); const cacheKey = `fireEngineMap:${mapUrl}`; - const cachedResult = await redis.get(cacheKey); + const cachedResult = null; let allResults: any[]; let pagePromises: Promise[];