slower refresh

This commit is contained in:
2019-06-24 17:12:21 -04:00
parent c01ce95f6a
commit a9f902ba30
3 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ async function fetchData() {
function updateData() {
fetchData().then(data => updateTable(data)).catch(data => console.log(data));
// Re-fetch data every 15 seconds
setTimeout(updateData, 15000);
// Re-fetch data every 1 minute
setTimeout(updateData, 60000);
}
function updateTable(data) {