Back down on caching and we're good to redeploy

This commit is contained in:
Dave Hrycyszyn
2021-12-20 18:01:19 +00:00
parent 89cb931775
commit 8d2863e085
+1 -1
View File
@@ -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);