From cd9702e0ed9b037313c1932ad0a2ec189c372f14 Mon Sep 17 00:00:00 2001 From: Pyro Nicampt <81565698+PyroNicampt@users.noreply.github.com> Date: Fri, 3 Jan 2025 22:27:12 -0600 Subject: [PATCH] Change github update check period --- legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legend.js b/legend.js index 24862b3..0ad15d9 100644 --- a/legend.js +++ b/legend.js @@ -205,7 +205,7 @@ async function setLastUpdateData(){ } } - setTimeout(() => {setLastUpdateData()}, Math.abs(new Date().valueOf()-updateDate.valueOf()) > 900000 ? 3600000 : 120000); + setTimeout(() => {setLastUpdateData()}, 900000); } function populateKey(){