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:
parent
20ddfddc69
commit
323f53cf56
|
|
@ -814,7 +814,7 @@ Digi Demo - Dashboard
|
||||||
// Callback executed when the page loads.
|
// Callback executed when the page loads.
|
||||||
document.addEventListener("DOMContentLoaded", function(event) {
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
// Start the timer that updates device status.
|
// Start the timer that updates device status.
|
||||||
var statsTimer = setInterval(refreshDevice, 5000);
|
var statsTimer = setInterval(refreshDevice, 15000);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue