longer refresh interval in admin page

This commit is contained in:
2020-06-10 18:11:51 +02:00
parent 9d3af28162
commit 5afd706446

View File

@@ -96,7 +96,7 @@ let graphTimeout = null;
function loadGraph(minutes, interval, live){ function loadGraph(minutes, interval, live){
if (graphTimeout !== null) { clearTimeout(graphTimeout) } if (graphTimeout !== null) { clearTimeout(graphTimeout) }
if (live) { if (live) {
graphTimeout = setTimeout(() => {loadGraph(minutes, interval, true)}, 1000) graphTimeout = setTimeout(() => {loadGraph(minutes, interval, true)}, 3000)
} }
let today = new Date() let today = new Date()