From c910ed6561072ea4fa1d8a079acf001ab23b6c18 Mon Sep 17 00:00:00 2001 From: No1mann Date: Fri, 6 Dec 2024 12:27:22 -0500 Subject: [PATCH] Fix refresh time --- website/script.js | 2 +- website/scriptTotal.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/script.js b/website/script.js index 8897cac..1fcd486 100644 --- a/website/script.js +++ b/website/script.js @@ -5,7 +5,7 @@ current: [], previous: [], refreshTime: 10000, //How often to wait for an API refresh - waitTime: 3000, //How long to wait for the data on the backend to be updated + waitTime: 4000, //How long to wait for the data on the backend to be updated minRefreshTime: 5000, //Minimum refresh time for the API graphTime: 1000 * 60 * 10, //Graph should update every 10 minutes pageIsVisible: true, diff --git a/website/scriptTotal.js b/website/scriptTotal.js index 220f176..a204334 100644 --- a/website/scriptTotal.js +++ b/website/scriptTotal.js @@ -5,7 +5,7 @@ current: [], previous: [], refreshTime: 10000, //How often to wait for an API refresh - waitTime: 3000, //How long to wait for the data on the backend to be updated + waitTime: 4000, //How long to wait for the data on the backend to be updated minRefreshTime: 5000, //Minimum refresh time for the API graphTime: 1000 * 60 * 10, //Graph should update every 10 minutes pageIsVisible: true,