From 8d2863e0850c83c139ea3dc99ea06d5ba182dc2d Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Mon, 20 Dec 2021 18:01:19 +0000 Subject: [PATCH] Back down on caching and we're good to redeploy --- explorer/src/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer/src/api/index.ts b/explorer/src/api/index.ts index f2647e2cc5..808c8bfc5f 100644 --- a/explorer/src/api/index.ts +++ b/explorer/src/api/index.ts @@ -23,7 +23,7 @@ import { function getFromCache(key: string) { const ts = Number(localStorage.getItem('ts')); - const hasExpired = Date.now() - ts > 200000; + const hasExpired = Date.now() - ts > 5000; const curr = localStorage.getItem(key); if (curr && !hasExpired) { return JSON.parse(curr);