connectcore-demo-example: update dashboard refresh timeout

Increase the dashboard refresh timeout to be 15s.
Uploading every 5s is too much for some platforms, ConnectCore MP15, with really
high CPU load.

https://onedigi.atlassian.net/browse/DEL-8508
https://onedigi.atlassian.net/browse/DEL-8509

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
This commit is contained in:
Tatiana Leon 2023-05-15 15:02:10 +02:00
parent 20ddfddc69
commit 323f53cf56
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ Digi Demo - Dashboard
// Callback executed when the page loads.
document.addEventListener("DOMContentLoaded", function(event) {
// Start the timer that updates device status.
var statsTimer = setInterval(refreshDevice, 5000);
var statsTimer = setInterval(refreshDevice, 15000);
});
</script>